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
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).
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".
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
Committed to release/jon3.2.x as commit: a0452e1
Moving to ON_QA for testing in latest(CR1) brew build.
verified in CR1 -> http://d.pr/v/ccnv