Bug 1031730

Summary: Dashboard graph group does not retain group configuration
Product: [JBoss] JBoss Operations Network Reporter: Peter Larsen <plarsen>
Component: UIAssignee: Jirka Kremser <jkremser>
Status: CLOSED CURRENTRELEASE QA Contact: Armine Hovsepyan <ahovsepy>
Severity: medium Docs Contact:
Priority: unspecified    
Version: JON 3.1.2CC: ahovsepy, jkremser, jshaughn, mfoley, myarboro
Target Milestone: ER02   
Target Release: JON 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-11 14:04:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
grp_metrics_dashboard none

Description Peter Larsen 2013-11-18 16:01:58 UTC
Description of problem:

Editing a "Resource Group Graph" on the dash board does not retain the group name the dash/portlet was created with.

How reproducible:

Every time.

Steps to Reproduce:

1. Create new dashboard
2. Create compatible group of EAP servers (more than one instance member)
3. Edit dashboard, add "Resource Graph from Group" to dash board
4. Pick the group created in step 2
5. Pick a metric
6. Apply
7. Click edit on the porlet (the gear in the right corner)

Group is not selected

Actual results:

Group is not selected

Expected results:

Entered parameters (metric name and group) would still be present.

Additional info:

Comment 1 Jirka Kremser 2014-08-21 14:22:35 UTC
branch:  master
link:    https://github.com/rhq-project/rhq/commit/7c78a3b78
time:    2014-08-21 16:17:54 +0200
commit:  7c78a3b78dadcb401ea279f6f1aa47310996855c
author:  Jirka Kremser - jkremser
message: [BZ 1031730] - Dashboard graph group does not retain group configuration
         - SingleResourceGroupSelector component now pre-selects the
         group stored in user prefs

Comment 2 Jirka Kremser 2014-08-22 15:02:16 UTC
branch:  master
link:    https://github.com/rhq-project/rhq/commit/139f3785d
time:    2014-08-22 17:00:11 +0200
commit:  139f3785dd19c3e2070795af6b21fc289de97edc
author:  Jirka Kremser - jkremser
message: [BZ 1031730] - Dashboard graph group does not retain group configuration
         - removing one unnecessary call of
         doPostPopulateAvailableGrid(), adding i18n for a message from
         AbstractSelector, reducing visibility from public to protected

Comment 3 Jay Shaughnessy 2014-08-22 15:12:03 UTC
Reviewed and backported:

release/jon3.3.x commit f39127727f77556a815bd81afc5614463b4773d0
Author: Jay Shaughnessy <jshaughn>
Date:   Fri Aug 22 11:08:10 2014 -0400

    Cherry-Pick master: 7c78a3b78dadcb401ea279f6f1aa47310996855c

release/jon3.3.x  commit 5d434cfb424cf2e40bf9475996f72ff8600ec5ae
Author: Jay Shaughnessy <jshaughn>
Date:   Fri Aug 22 11:10:03 2014 -0400

    Cherry-Pick Master 139f3785dd19c3e2070795af6b21fc289de97edc

Comment 4 Simeon Pinder 2014-09-03 20:31:49 UTC
Moving to ON_QA as available for test with the following brew build:
https://brewweb.devel.redhat.com//buildinfo?buildID=381194

Comment 5 Armine Hovsepyan 2014-09-05 15:33:57 UTC
Created attachment 934848 [details]
grp_metrics_dashboard

Comment 6 Armine Hovsepyan 2014-09-05 15:34:16 UTC
verified in JON 3.3 ER02
screen-shot attached