Bug 768342 - Incorrect work of Resource Group Metric Graph portlet
Summary: Incorrect work of Resource Group Metric Graph portlet
Keywords:
Status: ON_QA
Alias: None
Product: RHQ Project
Classification: Other
Component: Core Server
Version: 4.2
Hardware: Unspecified
OS: Windows
unspecified
unspecified
Target Milestone: ---
: RHQ 4.13
Assignee: Jay Shaughnessy
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1031732
TreeView+ depends on / blocked
 
Reported: 2011-12-16 12:16 UTC by Anton
Modified: 2022-03-31 04:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
Portlet settings screenshot (14.90 KB, image/png)
2011-12-16 12:17 UTC, Anton
no flags Details

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.


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