Bug 1031730 - Dashboard graph group does not retain group configuration
Summary: Dashboard graph group does not retain group configuration
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: UI
Version: JON 3.1.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER02
: JON 3.3.0
Assignee: Jirka Kremser
QA Contact: Armine Hovsepyan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-18 16:01 UTC by Peter Larsen
Modified: 2015-09-03 00:02 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-11 14:04:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
grp_metrics_dashboard (167.00 KB, application/octet-stream)
2014-09-05 15:33 UTC, Armine Hovsepyan
no flags Details

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


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