Bug 1743651 - infinispinner on attempt to open report's timeline tab of being edited report
Summary: infinispinner on attempt to open report's timeline tab of being edited report
Keywords:
Status: CLOSED EOL
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.11.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: GA
: 5.12.0
Assignee: Brian McLaughlin
QA Contact: Parthvi Vala
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1784183
TreeView+ depends on / blocked
 
Reported: 2019-08-20 11:39 UTC by Ievgen Zapolskyi
Modified: 2020-03-25 18:02 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1784183 (view as bug list)
Environment:
Last Closed: 2020-03-25 18:02:49 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:
mfeifer: mirror+


Attachments (Terms of Use)
screenshot (452.92 KB, image/png)
2019-08-20 11:39 UTC, Ievgen Zapolskyi
no flags Details
exported report (1.25 KB, text/plain)
2019-08-20 11:41 UTC, Ievgen Zapolskyi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github ManageIQ integration_tests pull 9322 0 'None' 'closed' '[1LP][RFR]Add test coverage for reports BZ' 2019-11-21 19:02:22 UTC

Description Ievgen Zapolskyi 2019-08-20 11:39:47 UTC
Created attachment 1606058 [details]
screenshot

Description of problem:
When I try open timelines tab in saved report with timelines, I get infinispinner and js errors.


Version-Release number of selected component (if applicable):
5.11.0.19

How reproducible:
100%

Steps to Reproduce:
1. Go to Overview->Reports and open Reports accordion
2. choose any report. f.e. I used "Evm Server UserID Usage Report"
3. Choose Configuration -> Copy this Report
4. Go to Timeline tab and set up all necessary fields to be able to save report
5. Save report
6. Select saved report and choose Configuration->Edit this Report
7.Click Timeline tab

Actual results:
infinispinner and below js errors in console

Expected results:
correct report behaviour

Additional info:
I'll attach report and screenshot. 

JS Errors below :


vendor-839ffbaff7af9ed4480a.js:105 Refused to load the font 'data:application/font-woff2;base64,d09GMgABAAAAAQ5sABIAAAADuOQAAQ4EAAEAgwAAAAAAAAAAAAAAAAAAAAAAAAAAG4SpIhy4XhSHMgZgAJJmCF4JgnMREAqGskiFyggSgrVoATYCJAOdOAuOXgAEIAWPGAfGYAyDGFsKfLME/nOMvX+HnQoMqyRqK6tt2TW8K2BDX9Umu4PZkCXwtMjpcHYNTx6UUmu30UdwcxxnVMvcNgAim7rdXiPZ////////////C5dF2ObuXM7ZvQeSECARwueHlaLVtkJEIaLRAI3ulswSE13cSPdM15RCyYQuuS7A0mBqpQO9pYZWQQMqa9lQb0dpJzHxHpLyCHIi8uBdwF58nNH+YOA40OpJvEjJtaokKaUkx/N5UeSinp5TWoW1vSpFjimBgeFGeCF66U0n6ZUN/qSqC4XC11GKUNmzSy2d5Jxyqw5JzGUlJUnyi0lKkE8BlxadTZsyRm8c1/Cti2hEjzIH...FVw9csGnQ1BnbMbfzgRj3WjPytwZYWpPh3OtmsLZaNcxxqaGVqMVqFffFpU8bbs/0N1vG3POWfS7LUeB81TfHn+VbD7x/UnT3lXyFltHfdX6+X6Rzmg9d4dAISK7GlTj2zgME/JUwAETAECwABAUgUmAysrKI5shRwAchnFSMheQ8UoKlvnVbkW9mMeq2+bbO9EQ2q09Z9wzsADarYt4ftoamBDi8gmfbZKnl+lkZWyRx1VYVSIpVFXs9VXy9ytCyTNYt09YIAGKjqpDT22SgOdP5OsdAK/vOCXFnrpEwA/PPTJiopB7HxZV+MlaGCT/04K/LY3kjPYV/YR146Ggg+9sX6na/c2So+Epz3PXve3PKRylPIhNZASBUYVDIGhikiWc1jj/claeVCJvljX7JfvO+xhfTDIjSXBs4HV16Ol/BMfcuFQ4NRmDOWEh6diOI6NZmGl87N9J+r2JfpW2+5NhV/fGHLO57Yavbq7zaCewa/RDxp/aSH+luOPwAA' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback.

Se @ vendor-839ffbaff7af9ed4480a.js:105
application-2d977dbe8d02e7652d96d89e9c2ac1f3d9c149300fff43c10634a8660860a7f2.js:1 exception caught evaling RJS
(anonymous) @ application-2d977dbe8d02e7652d96d89e9c2ac1f3d9c149300fff43c10634a8660860a7f2.js:1
application-2d977dbe8d02e7652d96d89e9c2ac1f3d9c149300fff43c10634a8660860a7f2.js:1 TypeError: Cannot read property 'group_level' of undefined
    at SVGTextElement.s (application-2d977dbe8d02e7652d96d89e9c2ac1f3d9c149300fff43c10634a8660860a7f2.js:281)
    at SVGTextElement.<anonymous> (vendor-839ffbaff7af9ed4480a.js:235)
    at vendor-839ffbaff7af9ed4480a.js:235
    at he (vendor-839ffbaff7af9ed4480a.js:235)
    at Array.Q.each (vendor-839ffbaff7af9ed4480a.js:235)
    at Array.Q.attr (vendor-839ffbaff7af9ed4480a.js:235)
    at SVGGElement.<anonymous> (vendor-839ffbaff7af9ed4480a.js:1732)
    at vendor-839ffbaff7af9ed4480a.js:235
    at he (vendor-839ffbaff7af9ed4480a.js:235)
    at Array.Q.each (vendor-839ffbaff7af9ed4480a.js:235)
(anonymous) @ application-2d977dbe8d02e7652d96d89e9c2ac1f3d9c149300fff43c10634a8660860a7f2.js:1

Comment 2 Ievgen Zapolskyi 2019-08-20 11:41:11 UTC
Created attachment 1606060 [details]
exported report

Comment 3 Ievgen Zapolskyi 2019-08-20 11:45:16 UTC
In addition, these JS errors appear when I try to set up Timeline in being edited report. Save button doesn't become active after editing something on Timeline tab.

Comment 4 Ievgen Zapolskyi 2019-08-20 12:13:08 UTC
same for predefined reports with timelines. when I open timelines f.e. in being copied Events->Operations->VMs Powevered On/Off ... report, I get infinispinner.

Comment 6 Parthvi Vala 2019-08-26 04:51:50 UTC
Also note: This bug is also reproducible on 5.10.

Comment 7 John Dupuy 2019-08-26 12:43:03 UTC
Also, in 5.11 @parthvi and I noticed that the timeline for this report is in no way visible on the report data, i.e. Queue up the report, and view it in "Saved Reports" -> "<Report Name>". In 5.10, these timelines were accessed via "Cloud Intel -> Timeline". Was this timeline tab (on the edit report page) meant to be removed from reports when the "Cloud Intel" -> "Timelines" page was removed for 5.11?


Note You need to log in before you can comment on or make changes to this bug.