Bug 1116000

Summary: Error creating "Local Disk Storage Content Source"
Product: [Other] RHQ Project Reporter: Thomas Segismont <tsegismo>
Component: ContentAssignee: Thomas Segismont <tsegismo>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.10, 4.6, 4.7, 4.8, 4.9, 4.11CC: hrupp
Target Milestone: ---   
Target Release: RHQ 4.12   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-15 11:36:38 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: 952665    

Description Thomas Segismont 2014-07-03 13:25:02 UTC
Description of problem:

Trying to create a "Local Disk Storage Content Source" leads to the following exception: 

java.lang.IllegalStateException: Attempt to render a dynamic property but no retrievers are configured for the type. Dynamic property type: DATABASE, Definition: PropertyDefinitionDynamic[id=18347, name=packageTypeName, config=DiskSource, group=Package Source] at org.rhq.core.gui.configuration.helper.PropertyRenderingUtility.createInputForDynamicProperty(PropertyRenderingUtility.java:128)

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

How reproducible:
Always

Steps to Reproduce:
1.Browse to #Administration/Content/ContentSources
2.Click on Create New
3.Click on Local Disk Storage Content Source

Actual results:
Fails with exception

Expected results:
Opens the create new Local Disk Storage Content Source page

Additional info:
Probably affects of content source types

Reported by community user: https://community.jboss.org/message/879258

Introduced during the rebasing on AS7 for RHQ4.6

Comment 1 Thomas Segismont 2014-07-03 13:31:49 UTC
Fixed in master

commit 13878d4639f7d65a7dbd9a659a3498108e7d0c8c
Author: Thomas Segismont <tsegismo>
Date:   Thu Jul 3 15:30:26 2014 +0200

Database property retriever needs to be registered at startup with PropertyRenderingUtility#putDynamicPropertyRetriever
    
This setup code snippet was lost during AS7 rebasing for RHQ4.6

Comment 2 Heiko W. Rupp 2014-12-15 11:36:38 UTC
Bulk close of items fixed in RHQ 4.12

If you think this is not solved, then please open a *new* BZ and link to this one.