Bug 588401

Summary: The create compatible group "Select Resource Type..." option for "JBossAS Server" changes
Product: [Other] RHQ Project Reporter: John Sefler <jsefler>
Component: Resource GroupingAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED WONTFIX QA Contact: Corey Welton <cwelton>
Severity: medium Docs Contact:
Priority: low    
Version: 1.4   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-21 01:55:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 591531    

Description John Sefler 2010-05-03 16:49:15 UTC
Description of problem:
When creating a compatible group, there is a drop down list for "Select Resource Type..."  The option "JBossAS Server" changes depending on what resources have been inventoried.

If only a JBossAS 4 resource is in inventory, the option label is:
    "JBossAS Server"

When both a JBossAS 4 and 5 resource is in inventory, the option labels are: 
    "JBossAS Server (JBossAS Plugin)"
    "JBossAS Server (JBossAS5 Plugin)"

This causes problems for our automated tests and may actually be more informative to a user to use a fixed option label.  I would suggest to use the parenthesized plugin name in the option label all the time no matter what is inventoried.

I guess this bugzilla is more of a request than a defect.

Version-Release number of selected component (if applicable):
 RHQ
version: 3.0.0-SNAPSHOT
build number: 303467a

Comment 1 Jeff Weiss 2010-05-03 18:57:56 UTC
I think this design needs to be fixed.  There is no need to hide the plugin name when there's only one of many same-named resource types. It's misleading.  It makes the user think that a compatible group can contain both jbossas4 and jbossas5, when it cannot.

Consider this scenario - user adds jbossas4 servers to inventory, creates a compatible group, and chooses "JBossAS Server" and adds his jbossas4 servers.  He thinks, "ok I have a group of JBossAS Servers.  Now I am going to import some JBossAS5 servers and add them to the group".  And when he goes to add them he can't add them.

Comment 2 Corey Welton 2010-09-21 01:55:36 UTC
closing this bug per the gwt redesign.  it can be reopened if considered critical or re-visited when the gwt implementation is available.