Bug 1743651

Summary: infinispinner on attempt to open report's timeline tab of being edited report
Product: Red Hat CloudForms Management Engine Reporter: Ievgen Zapolskyi <izapolsk>
Component: UI - OPSAssignee: Brian McLaughlin <bmclaugh>
Status: CLOSED EOL QA Contact: Parthvi Vala <pvala>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.11.0CC: akarol, bmidwood, hkataria, jdupuy, lavenel, mpovolny, obarenbo, smallamp, yrudman
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.12.0Flags: mfeifer: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1784183 (view as bug list) Environment:
Last Closed: 2020-03-25 18:02:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1784183    
Attachments:
Description Flags
screenshot
none
exported report none

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?