Bug 720456

Summary: inventory>child resources has bad import button menu
Product: [Other] RHQ Project Reporter: John Mazzitelli <mazz>
Component: Core UIAssignee: Ian Springer <ian.springer>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0.1CC: ccrouch, hrupp, ian.springer, skondkar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-07 19:26:20 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: 678340, 725459    
Description Flags
Screenshot_Import-Menu none

Description John Mazzitelli 2011-07-11 16:54:29 UTC
Created attachment 512262 [details]

Go to a platform's inventory>child resources page. Click the "Import" button and see only a few options (perhaps 4).

Now right mouse click over the platform node in the left hand tree. Look at the Import menu and see you have the full set of items (all the valid child types).

For some reason, the subtab's import button isn't fully populated with all possible child types.

see attached images.

Comment 1 John Mazzitelli 2011-07-11 16:54:51 UTC
Created attachment 512263 [details]

Comment 2 Ian Springer 2011-08-01 18:14:18 UTC
Fixed - [master d47438f]. I added some extra code to ResourceTypeRepository to make sure a platform type's child types includes top-level servers and services that were specified in the plugin descriptor using runs-inside.

Comment 3 Sunil Kondkar 2011-08-02 09:44:38 UTC
Verified on build#236 (Version: 4.1.0-SNAPSHOT Build Number: e4fa39a)

The import button is populated with child types. Please refer the attached screenshot.

Marking as verified.

Comment 4 Sunil Kondkar 2011-08-02 09:45:24 UTC
Created attachment 516289 [details]

Comment 5 Mike Foley 2012-02-07 19:26:20 UTC
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE