Bug 1064408 - When expanding a graph in resource monitoring metrics view the sparkline graphs dont refresh after expansion
Summary: When expanding a graph in resource monitoring metrics view the sparkline grap...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: UI
Version: JON 3.2.1
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ER04
: JON 3.3.0
Assignee: Mike Thompson
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-12 14:40 UTC by Mike Thompson
Modified: 2014-12-11 14:04 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-12-11 14:04:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


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