Bug #41560 dashboard large graph popup retains invalid graph during new graph load
Submitted: 17 Dec 2008 16:11 Modified: 13 Oct 2010 10:42
Reporter: Josh Sled Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Web Severity:S3 (Non-critical)
Version:1.x,2.0.0.7125 OS:Any
Assigned to: Josh Sled CPU Architecture:Any

[17 Dec 2008 16:11] Josh Sled
Description:
irc://irc-new.mysql.com/merlin @ 2008-12-17T10:58-05:00:

<scott> jsled: I have a customer issue, where their MEM graphs present old data
<jsled> how old is old?
<scott> The small graphs keep up when they click a different server
<scott> but when the click a graph, the large image shows the previously selected server
<jsled> this is on the dashboard, then?
<jsled> I believe we're not as clean as we should be in re-using that popup on the dashboard.
<scott> yes
<scott> however, they see the problem in Firefox, but not in IE
<jsled> Specifically, if you open one larger graph, then dismiss the popup, then open another, we don't first clear out the old image.
<scott> that sounds like it might be related. Any workaround?
<jsled> Plus, since it's a dynamic image replace, the browser's spinner isn't going.
<jsled> I'd guess that it's just taking "a while" for the correct image to replace the invalid one.
<jsled> Could verify with firebug or a network trace or something, but I'm pretty confident that's it.
<jsled> "Reload the dashboard" is a heavy workaround.
<jsled> but that will re-initialize the popup to empty.
<scott> yes, the customer already firgured that one out on their own
<jsled> Otherwise … wait a bit longer. :(
<jsled> And we'll file a bug; I'm changing graph serving in 2.1, so I'll make sure to address this in the course of doing that.

How to repeat:
load dashboard.  popup larger graph.  dismiss graph.  popup different graph.  Notice you see the first graph, hopefully for only a very brief time until the correct one loads.

Suggested fix:
Blank out the image (or, better, always display a "loading" spinner) on showing the popup.
[17 Dec 2008 16:12] MySQL Verification Team
Added issue 32122
[13 Oct 2010 10:42] Mark Leith
I can no longer repeat this on 2.2/2.3. Closing.