Bug 1116000 - Error creating "Local Disk Storage Content Source"
Summary: Error creating "Local Disk Storage Content Source"
Alias: None
Product: RHQ Project
Classification: Other
Component: Content
Version: 4.10,4.6,4.7,4.8,4.9,4.11
Hardware: Unspecified
OS: Unspecified
unspecified vote
Target Milestone: ---
: RHQ 4.12
Assignee: Thomas Segismont
QA Contact: Mike Foley
Depends On:
Blocks: 952665
TreeView+ depends on / blocked
Reported: 2014-07-03 13:25 UTC by Thomas Segismont
Modified: 2014-12-15 11:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-12-15 11:36:38 UTC

Attachments (Terms of Use)

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:

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@redhat.com>
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.

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