Bug 768342

Summary: Incorrect work of Resource Group Metric Graph portlet
Product: [Other] RHQ Project Reporter: Anton <ieronim>
Component: Core ServerAssignee: Jay Shaughnessy <jshaughn>
Status: ON_QA --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.2CC: hrupp, jshaughn, mpeter
Target Milestone: ---   
Target Release: RHQ 4.13   
Hardware: Unspecified   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1031732    
Attachments:
Description Flags
Portlet settings screenshot none

Description Anton 2011-12-16 12:16:15 UTC
Description of problem:
Problem in portlet "Resource Group Metric Graph":
Duplicate records in metric lookup list in portlet settings(see attachment).
Graph displays only one resource metric.

Version-Release number of selected component (if applicable):
Reproduced on 4.2.0

Steps to Reproduce:
1. Add a resource group of two or more resources
2. Add Resource Group Metric Graph portlet
3. Open portlet settings and add resource group to assigned groups list
4. Choose any metric for group

Actual results:
1. Metric lookup list on portlet settings form contains duplicate records (for each resource in a group, I guess)
2. Metric graph displays metric only for one resource from the group

Expected results:
1. Correct metric selection in portlet settings, wothout duplicates
2. Metric graph for resource group, displaying summarized metrics

Comment 1 Anton 2011-12-16 12:17:04 UTC
Created attachment 547760 [details]
Portlet settings screenshot

Comment 2 Heiko W. Rupp 2012-06-06 16:25:21 UTC
This is still present in RHQ 4.4 :-(

Comment 3 Simeon Pinder 2012-06-06 18:54:44 UTC
Ick. I'm guessing that the parent implementation gui class got refactored in some way and we didn't realize that we nicked these widgets.

Comment 4 Matt Peter 2012-06-14 18:17:50 UTC
We heavily use dynamic groups at our client, this is a big blocker for us :/

Comment 5 Jay Shaughnessy 2014-09-05 17:31:41 UTC
The single-member graphing issue was resolved in an earlier release. The duplicates in the settings is solved here.

Master commit 16c6dbf7d3fc6d1a2614cd34b255853e09f0be45
Author: Jay Shaughnessy <jshaughn>
Date:   Fri Sep 5 13:28:57 2014 -0400

    [768342] Incorrect work of Resource Group Metric Graph portlet
    The datasouce backing this select item had issues.  Fixed that. Also,
    fix a tangential issue in the MeasurementScheduleCriteria resource type
    filter.