Bug 1064408

Summary: When expanding a graph in resource monitoring metrics view the sparkline graphs dont refresh after expansion
Product: [JBoss] JBoss Operations Network Reporter: Mike Thompson <mithomps>
Component: UIAssignee: Mike Thompson <mithomps>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: low Docs Contact:
Priority: unspecified    
Version: JON 3.2.1CC: hrupp, myarboro
Target Milestone: ER04Keywords: Upstream
Target Release: JON 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-11 14:04:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mike Thompson 2014-02-12 14:40:42 UTC
Description of problem:
At first, I thought this was a simple regression of the code. But further investigation shows that this is a timing regression. That occurs when it gets slow.

Version-Release number of selected component (if applicable):
Testing was don in release branch of future JON 3.2.1 (release branch on Feb 11, 2014)
I noticed this occurring in release/jon3.2.x and master

How reproducible:
Almost Always.


Steps to Reproduce:
1. Goto Resource monitor metrics tab
2. expand up one or more of the graph to show a  larger graph


Actual results:
Sparkline graphs are not re-rendered although larger graphs are rendered


Expected results:
The sparkline graphs should also get rendered.


Additional info:

Comment 1 Mike Thompson 2014-02-12 16:37:41 UTC
I fixed this by adding additional timing after the chart is drawn and giving the DOM time to settle down and be seen properly by the jquery sparklines.

commit c22d0a34c13ae162d24def638638040158df77b8
Author: Mike Thompson <mithomps>
Date:   Wed Feb 12 08:30:34 2014 -0800