Bug 720456 - inventory>child resources has bad import button menu
inventory>child resources has bad import button menu
Product: RHQ Project
Classification: Other
Component: Core UI (Show other bugs)
Unspecified Unspecified
medium Severity medium (vote)
: ---
: ---
Assigned To: Ian Springer
Mike Foley
Depends On:
Blocks: jon3 rhq41beta
  Show dependency treegraph
Reported: 2011-07-11 12:54 EDT by John Mazzitelli
Modified: 2013-08-05 20:39 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-02-07 14:26:20 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
bad-menu.png (55.93 KB, image/png)
2011-07-11 12:54 EDT, John Mazzitelli
no flags Details
good-menu.png (62.09 KB, image/png)
2011-07-11 12:54 EDT, John Mazzitelli
no flags Details
Screenshot_Import-Menu (179.06 KB, image/png)
2011-08-02 05:45 EDT, Sunil Kondkar
no flags Details

  None (edit)
Description John Mazzitelli 2011-07-11 12:54:29 EDT
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 12:54:51 EDT
Created attachment 512263 [details]
Comment 2 Ian Springer 2011-08-01 14:14:18 EDT
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 05:44:38 EDT
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 05:45:24 EDT
Created attachment 516289 [details]
Comment 5 Mike Foley 2012-02-07 14:26:20 EST
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE

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