Bug 672604

Summary: 10 minutes graph again
Product: Red Hat Enterprise MRG Reporter: Jan Sarenik <jsarenik>
Component: cuminAssignee: Ernie <eallen>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Sarenik <jsarenik>
Severity: high Docs Contact:
Priority: high    
Version: 1.3CC: iboverma, matt, tmckay
Target Milestone: 1.3.2   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cumin-0.1.4490-1.el5 Doc Type: Bug Fix
Doc Text:
Under certain circumstances, in the "Grid Overview" panel, flash charts displayed data for one time period and the radio button above the chart would indicate a different time period. With this update, if the time period on a flash chart changes and the page is reloaded, the flash chart and the radio button revert to the original default time period.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-15 13:01:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Screenshot none

Description Jan Sarenik 2011-01-25 17:26:55 UTC
Created attachment 475219 [details]
Screenshot

In Grid Overview when I switch to a 10 minute graph
and refresh the page, I see 1 hour graph, but 10-min
radio selected...

cumin-0.1.4478-1.el5

How reproducible: 100%

Steps to Reproduce:
1. See above

Comment 1 Ernie 2011-01-26 19:58:29 UTC
Fix posted in cumin 4487.

The problem described in this bz only affected the flash charts. The png version of the charts was working (for a single chart).

While fixing this I discovered another bug that affected the png charts as well. If there is more than one chart on the page, and you change the duration on multiple charts, only one of the charts is reset correctly when the page was refreshed. This has also been fixed for both flash and png charts.

Comment 2 Ernie 2011-01-26 19:58:29 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Under certain circumstances, the flash charts would display data for one time period and the radio button above the chart would indication a different time period.
If the user changed the time period (also knows as the duration) on a chart, and then refreshed the page, the chart is supposed to retain the new time period. This was not happening. That behaviour has been corrected.

Comment 3 Ernie 2011-01-26 21:38:38 UTC
After further review by the developer, it isn't feasible to attempt to revert to the changed chart duration after a manual page reload.

The new behavior is to revert to the original/default duration for all charts when the user reloads the page. This is also more consistent with the flash slot chart behavior.

Comment 4 Ernie 2011-01-26 21:38:38 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,2 +1,2 @@
 Under certain circumstances, the flash charts would display data for one time period and the radio button above the chart would indication a different time period.
-If the user changed the time period (also knows as the duration) on a chart, and then refreshed the page, the chart is supposed to retain the new time period. This was not happening. That behaviour has been corrected.+If the user changes the time period on a chart, and then reloads the page, the chart and radio button will now revert to it's original default time period.

Comment 5 Jan Sarenik 2011-01-27 14:43:05 UTC
Verified in cumin-0.1.4490-1.el5

Comment 6 Martin Prpič 2011-02-10 11:21:45 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,2 +1 @@
-Under certain circumstances, the flash charts would display data for one time period and the radio button above the chart would indication a different time period.
+Under certain circumstances, in the "Grid Overview" panel, flash charts displayed data for one time period and the radio button above the chart would indicate a different time period. With this update, if the time period on a flash chart changes and the page is reloaded, the flash chart and the radio button revert to the original default time period.-If the user changes the time period on a chart, and then reloads the page, the chart and radio button will now revert to it's original default time period.