Bug 1390612 - Timelines: JS Error and endless load
Summary: Timelines: JS Error and endless load
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.8.0
Assignee: Harpreet Kataria
QA Contact: Ievgen Zapolskyi
URL:
Whiteboard:
: 1391909 (view as bug list)
Depends On:
Blocks: 1391706
TreeView+ depends on / blocked
 
Reported: 2016-11-01 14:10 UTC by Bronagh Sorota
Modified: 2017-06-12 16:10 UTC (History)
9 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1391706 (view as bug list)
Environment:
Last Closed: 2017-06-12 16:10:13 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
EAR file (1.09 KB, application/zip)
2016-11-01 14:10 UTC, Bronagh Sorota
no flags Details

Description Bronagh Sorota 2016-11-01 14:10:28 UTC
Created attachment 1216122 [details]
EAR file

Description of problem:

This bug was discovered and fixed in the Hawkular provider: https://bugzilla.redhat.com/show_bug.cgi?id=1388040, this BZ was created when it became apparent it is a bug in ALL providers, not just Hawkular.


While loading Timelines for a Provider, in cases of failure events, there is a JS Error in console, and page loads endless.

Version-Release number of selected component (if applicable):
5.7.0.6-alpha3.20161019140041_ea8e259
Chrome Version 53.0.2785.116 (64-bit)
FF 49.0

How reproducible:
always when several failure events exists

Steps to Reproduce, using the Hawkular provider as an example:
1. Deploy EAR file several times, each time with different runtime name but the WAR and JAR file inside EAR keep the same. Starting from second deployments it is not successful, as inner WAR and JAR files already exists.
2. Go to Middleware Provider -> Timelines page.
3. Select "Application" Category,do not check " Show Detailed Events ", press Apply. So it should show failure evens.
But in fact page loads endless, JS error is shown in browsers console.
"SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 1 column 736 of the JSON data"

Full console log for FF and Chrome are attached.
EAR file is attached.

Comment 4 Harpreet Kataria 2016-11-03 15:04:26 UTC
Please retest with latest build. This should have been fixed by 
https://github.com/ManageIQ/manageiq/pull/12340

Comment 6 Harpreet Kataria 2016-11-04 13:48:02 UTC
*** Bug 1391909 has been marked as a duplicate of this bug. ***

Comment 7 Ievgen Zapolskyi 2017-03-07 13:13:50 UTC
Cannot reproduce it in  5.8.0.3


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