Bug 1021929

Summary: Import context menu does not show plugin resource types when accessing by URL
Product: [JBoss] JBoss Operations Network Reporter: Libor Zoubek <lzoubek>
Component: UIAssignee: Jirka Kremser <jkremser>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: low    
Version: JON 3.2CC: jkremser, jshaughn, mithomps, rhatlapa, theute
Target Milestone: ER05   
Target Release: JON 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-02 20:36:23 UTC Type: Bug
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: 1012435    

Description Libor Zoubek 2013-10-22 10:50:47 UTC
Description of problem:


Version-Release number of selected component (if applicable):
JON 3.2.ER3

How reproducible: always


Steps to Reproduce:
1. install JON server with all plugin-packs
2. import at least 1 platform
3. navigate to your platform resource - directly by entering URL coregui/#Resource/10001/Inventory/Children
4. Click "Import" button on the bottom

Actual results: menu contains only 1 item (Process)


Expected results: all possible resource types are shown


Additional info: step 3 is very important. If you navitage from Inventory->platforms it works as expected. Same if you navigate using URL and than click resource tree and retry step 4.

Comment 1 Jirka Kremser 2013-10-30 18:28:41 UTC
branch:  release/jon3.2.x
link:    http://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=66494e074
time:    2013-10-30 19:21:49 +0100
commit:  66494e0742126de409acd97bff9744f18b4de8f4
author:  Jirka Kremser - jkremser
message: [BZ 1021929] - Import context menu does not show plugin resource types
         when accessing by URL
    
         Using the ResourceTypeRepository to fetch the resource type (with the
         ResourceTypeRepository.MetadataType.children and other metadata set)
    
         (cherry picked from commit 028ca82da5b4125bcc06b141cb2cd0709ac17c80)

Comment 2 Jay Shaughnessy 2013-10-31 17:09:25 UTC
release/jon3.2.x commit cb023c1565b0dd622e362c4ecdf30d48c6c98ae1
Author: Jay Shaughnessy <jshaughn>
Date:   Thu Oct 31 13:00:40 2013 -0400

Fix corner case where our implicit platform child types were not being
applied to platform types on initial entry of the type into the type repository.

This also reverts the prior fix which worked for the bug but did not solve
the root problem.

cherry-pick master ab61147086e6d184fbd981508e454ac90b6ace11



Leaving at MODIFIED for ER5

Comment 3 Simeon Pinder 2013-11-07 02:18:00 UTC
Moving to ON_QA for test with new brew build.

Comment 4 Libor Zoubek 2013-11-07 11:32:56 UTC
verified on JON 3.2.ER5