Bug 1034852 - time range change in summary->activity doesn't change time range in monitoring->metrics
Summary: time range change in summary->activity doesn't change time range in monitorin...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: UI
Version: JON 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: CR01
: JON 3.2.0
Assignee: Mike Thompson
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On: 1034991 1035443
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-26 15:44 UTC by Armine Hovsepyan
Modified: 2015-09-03 00:02 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-01-02 20:34:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Armine Hovsepyan 2013-11-26 15:44:28 UTC
Description of problem:
time range change in summary->activity doesn't change time range in monitoring->metrics

Version-Release number of selected component (if applicable):
jon 3.2 er7

How reproducible:
always

Steps to Reproduce:
1. Navigate to Platform
2. Summary -> Activity
3. Edit settings and change "Filter by: Time" to "Time Range - Previous 8 hours" and save it
4. Click on one of the metrics - e.g. Actual free memory
5. Click on "see more" link 


Actual results:
After step4. time range for "actual free memory" metric is not changed to "previous 8 hours"
After step5. time range for metrics in monitoring-> metrics is open, but the time range is not changed to "previous 8 hours"

Expected results:
After step4. time range for "actual free memory" metric is changed to "previous 8 hours"
After step5. time range for metrics in monitoring-> metrics is open and the time range is not changed to "previous 8 hours"

Additional info:
If the time range for specific metric is changed from summary->activity, after step5 the time range is changed in monitoring->metrics. I would expect the same functionality while changing time range for all metrics from summary->activity

Comment 1 Mike Thompson 2013-11-26 22:44:09 UTC
I have added a refresh to summary metrics portlet so that after you pop up the chart dialog and change a time range, that underlying summary metrics portlet is refreshed to show the newly selected time range. This was done for group and resource.

I started out with a full CoreGUI.refresh() on the close of the chart popup, but that gave a really slow transition back to the summary metrics portlet as everything need to be requeried and redrawn (including the tree that is a performance hog).

Comment 2 Mike Thompson 2013-11-26 22:54:06 UTC
Committed to master: 6b6f189

NOTE: To fully fix this issue the fix for BZ 1034991 as it fixes the summary metrics portlet having the proper date range and this BZ takes care of refreshing the summary metrics portlet after making changes in the time range on the chart popup. Two independent pieces that should be taken together for a "proper fix".

Comment 3 Mike Thompson 2013-11-26 23:05:42 UTC
Actually, BZ 1034991 is required for this commit (because of overlap in files) if we are going to cherry-pick.

So the dependent commit for BZ 1034991 in master is: a532e90dd41ce1fcfb3f3d9fbdf126448ac80c1c

Comment 4 Mike Thompson 2013-11-27 19:37:43 UTC
Committed to release/jon3.2.x as commit: a0452e1

Comment 5 Simeon Pinder 2013-12-03 23:19:30 UTC
Moving to ON_QA for testing in latest(CR1) brew build.

Comment 6 Armine Hovsepyan 2013-12-04 10:11:21 UTC
verified in CR1 -> http://d.pr/v/ccnv


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