Description of problem: When loading a chart from the right-click context menu of a grouped resource, a subsequent save of the chart to the Dashboard results in an entry of " : <metric>" instead of the expected "<resource_name> : <metric>". Version-Release number of selected component (if applicable): JON 2.4.1 How reproducible: Very Steps to Reproduce: 1. Create new compatible group for RHQ Agents named "Agent Sampling" 2. Add one or more RHQ Agent resources to the group 3. Navigate to Groups->Compatible Groups page 4. Click on the "Agent Sampling" group 5. Right click on "Agent Sampling" group in resource tree to load context menu 6. Select 'View Metric Chart'->'Agent-Server Clock Difference' to load chart 7. Click "Save Chart to Dashboard" action 8. Navigate to Overview->Dashboard page 9. Observe new entry of ": Agent-Server Clock Difference" located in Saved Charts portlet Actual results: Entry of ": Agent-Server Clock Difference" in Saved Charts portlet Expected results: Entry of "Agent Sampling : Agent-Server Clock Difference" in Saved Charts portlet
Appears to be a result of the mode value in the chart link being saved as a single resource instead of a multi resource (ie, 'mode=chartSingleMetricSingleResource' instead of 'mode=chartSingleMetricMultiResource'). For example: Bad: http://server:7080/resource/common/monitor/Visibility.do?mode=chartSingleMetricSingleResource&groupId=10051&showLow=true&showHighRange=true&showBaseline=true&m=10285&showLowRange=true&showAverage=true&showValues=true&showPeak=true&mode=chartSingleMetricSingleResource&threshold= Good: http://server:7080/resource/common/monitor/Visibility.do?mode=chartSingleMetricMultiResource&groupId=10051&showLow=true&showHighRange=true&showBaseline=true&m=10285&showLowRange=true&showAverage=true&showValues=true&showPeak=true&mode=chartSingleMetricSingleResource&threshold=
retest in new RHQ 4.x UI to see if this is an issue
tested in RHQ 4.x. this is not an issue in the new UI.