Description of problem: The metric chart displayed when clicking on a metric available on the resource's summary portlet is missing its metric graph if the metric's graph was already expanded/opened on the resource's monitoring page. The only thing visible on the chart is a availability chart. Version-Release number of selected component (if applicable): 3.2.0.GA How reproducible: Always Steps to Reproduce: 1. Navigate to agent's monitoring page. 2. Expand the "Actual Free Memory" metric to reveal its graph. 3. Select the "Summary" tab. 4. Click on the "Actual Free Memory" metric in the "Resource: Measurements" portlet. Actual results: Metric Chart: Actual Free Memory is displayed but contains no metric graph. Expected results: Metric Chart: Actual Free Memory is displayed and includes a metric graph. Additional info: If you collapse the metric on the monitoring page, and reload the chart, the graph will be displayed.
Created attachment 834563 [details] Screen-shot showing missing graph on metric chart
Created attachment 834564 [details] Screen-shot showing missing graph on metric chart
Created a unique chart naming identifier applicable to the summary portlet charts so the names wouldn't clash. Committed to master: commit dfa8a1bb8d80b033282e2c7f4856b62b434330b1 Author: Mike Thompson <mithomps> Date: Mon Feb 10 18:45:34 2014 -0800
@jkremser: can you check and move to release branch?
lgtm branch: release/jon3.2.x link: http://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=25c2fc47d time: 2014-02-11 13:12:37 +0100 commit: 25c2fc47d7bc33499dd2bbb0d7fa1fee2efa96c7 author: Mike Thompson - mithomps message: [BZ 1039757] Metric graph is missing from summary portlet chart if it has been opened on monitoring page. Created a unique chart naming identifier applicable to the summary portlet charts only so the names wouldn't clash. (cherry picked from commit dfa8a1bb8d80b033282e2c7f4856b62b434330b1) Signed-off-by: Jirka Kremser <jkremser> Conflicts: *modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/inventory/common/graph/MetricGraphData.java *modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/inventory/common/graph/graphtype/StackedBarMetricGraphImpl.java *modules/enterprise/gui/coregui/src/main/webapp/js/rhq-4.9.0.js
There were a couple files that were not merged correctly release/jon3.2.x. I have reverted the previous commit: commit ceed4c86f3a1dd56e8b13f612fadf3a869dcf773 Author: Mike Thompson <mithomps> Date: Tue Feb 11 10:14:25 2014 -0800 Revert from bad merge: "[BZ 1039757] Metric graph is missing from summary portlet chart if it has been opened on monitoring page." This reverts commit 25c2fc47d7bc33499dd2bbb0d7fa1fee2efa96c7. I re-picked the commit and manually did the merges; double checking the GUI. commit 7acb11e6155eef410c3658e4b0d0f5f85ad90e5e Author: Mike Thompson <mithomps> Date: Mon Feb 10 18:45:34 2014 -0800 [BZ 1039757] Fixed release branch merge issues. Metric graph is missing from summary portlet chart if it has been opened on monitoring page. Created a unique chart naming identifier applicable to the summary portlet charts only so the names wouldn't clash.
Moving to ON_QA as available for testing in the following brew build: https://brewweb.devel.redhat.com//buildinfo?buildID=336752 Note: the installed version is still JON 3.2.0.GA by design and this represents part of the payload for JON 3.2.1 also known as cumulative patch 1 for 3.2.0.GA. How this will be delivered to customers is still being discussed.
verified jon 3.2.1 dr1
JON 3.2.1 released week of 5/5/2014