Bug 563113

Summary: "Manually Add" dropdown merges distinct types with the same name
Product: [Other] RHQ Project Reporter: Lukas Krejci <lkrejci>
Component: Core UIAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 1.4CC: sdharane
Target Milestone: ---Keywords: SubBug
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 2.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-12 16:55:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 565628, 591531    

Description Lukas Krejci 2010-02-09 09:34:10 UTC
Description of problem:

In JBossAS and JBossAS5 plugins, there are types both called JBossAS Server.
Both types support manual add.
When one tries to manually add a JBossAS5 server, the manual add dropdown contains only one entry called "JBossAS Server" which incidentally triggers creation of the other type.

Version-Release number of selected component (if applicable):

Found on the linux-config branch, but I strongly suspect this is common to all branches since this area of code hasn't been touched, AFAIK.

How reproducible:

Always.

Steps to Reproduce:
1. Have both JBossAS and JBossAS5 plugins deployed on the RHQ server
2. Import a platform.
3. Go to Inventory>Overview subtab of the platform and try to manually add JBossAS Server from JBossAS5 plugin.
  
Actual results:

Only able to create JBossAS Server from JBossAS plugin (i.e. JBossAS 4)

Expected results:

It should be possible to see both types listed in that dropdown.

Additional info:

Comment 1 wes hayutin 2010-02-16 16:55:52 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 2 wes hayutin 2010-02-16 17:00:57 UTC
making sure we're not missing any bugs in rhq_triage

Comment 3 Charles Crouch 2010-05-18 03:49:37 UTC
The plugin name needs to be appended to the resource type in the "manual add" dropdown.

Comment 4 Charles Crouch 2010-05-18 04:56:37 UTC
I just saw another bug where jsanda mentioned the JBoss AS 5 server now included the plugin name in the dropdown, so I believe this is fixed.

Comment 5 Sudhir D 2010-05-18 08:57:13 UTC
Tried this on Build#152,

1. Both JBossAS and JBossAS5 plugins are deployed on the RHQ server
2. Import the platform.
3. Go to Inventory>Overview subtab of the platform and try to manually add
JBossAS Server from JBossAS5 plugin.

I can see both JBoss AS Server (JBossAS5 Plugin) and JBoss AS Server (JBossAS Plugin) listed. 

Marking this as verified.

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