Bug 587325 - Do not nest singleton resources in autogroups in the left nav tree
Summary: Do not nest singleton resources in autogroups in the left nav tree
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 3.0.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Rajan Timaniya
URL:
Whiteboard:
Depends On:
Blocks: jon24-naming
TreeView+ depends on / blocked
 
Reported: 2010-04-29 15:37 UTC by Lukas Krejci
Modified: 2010-08-12 16:57 UTC (History)
3 users (show)

Fixed In Version: 2.4
Clone Of:
Environment:
Last Closed: 2010-08-12 16:57:24 UTC
Embargoed:


Attachments (Terms of Use)

Description Lukas Krejci 2010-04-29 15:37:19 UTC
Description of problem:

The new tree creates an autogroup for every resource type. It has been found that doing this for singletons creates unnecessary clicking because there is only ever going to be a single singleton of given type (under a parent).

As part of this change, revisit all the singleton resources in all plugins and make sure they are assigned names that clearly identify them (which hopefully is the case already).

Steps to Reproduce:
1. View a page with left nav tree (for example a summary page of a resource)
2. All resources should be nested inside autogroups except the singleton resources
  
Additional info:

The only way to find a singleton resource is to look in the plugin desciptor inside the plugin jars (META-INF/rhq-plugin.xml) and look for a resource type with singleton="true" attribute.

Comment 1 Lukas Krejci 2010-04-30 14:59:40 UTC
Implemented in commit 98d7db9 (currently in bugfixes branch).

Comment 2 gneelaka@redhat.com 2010-05-03 15:32:59 UTC
Tested on JON#123 Revision: 10615

this build does not contain the fix so moving it to modified.

Comment 3 gneelaka@redhat.com 2010-05-06 15:26:38 UTC
tested on JON#124 Revision:10615

Steps:

1)View the page with left navigation tree.
2)RHQ agent appears twice as three box structure as well as terminal structure.

this build does not seem to contain the fix so moving it back to on_dev.

Comment 5 Rajan Timaniya 2010-05-19 09:51:40 UTC
Verified on JON build #154 - Revision: 10620
http://hudson-qe.rhq.rdu.redhat.com:8080/job/jon/154/

Steps:
1) Install JON (build #154) and agent
2) All resources shows nested inside autogroups except the singleton
resources

Comment 6 Corey Welton 2010-08-12 16:57:24 UTC
Mass-closure of verified bugs against JON.


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