Bug 690483

Summary: group config editor throws exception during group prop editing
Product: [Other] RHQ Project Reporter: John Mazzitelli <mazz>
Component: Core UIAssignee: Ian Springer <ian.springer>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: high Docs Contact:
Priority: high    
Version: 4.0.0.Beta1CC: ccrouch, hrupp, skondkar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 585306    

Description John Mazzitelli 2011-03-24 13:19:06 UTC
1) Create a compatible group with one or more resources in it that support plugin configuration (this probably happens for resource config too)

2) Go to the group's Inventory>Connection Settings view

3) Click the pencil to edit one group config property

4) Type something in the "Set all values to:" text field

Notice a globally uncaught exception during step 4:

java.lang.IllegalStateException:PropertySimple[id=0, name=Pathname, value=j, override=true] has no parent.
--- STACK TRACE FOLLOWS ---
PropertySimple[id=0, name=Pathname, value=j, override=true] has no parent.
...
    at Unknown.org_rhq_enterprise_gui_coregui_client_components_configuration_GroupConfigurationEditor_$getProperty__Lorg_rhq_enterprise_gui_coregui_client_components_configuration_GroupConfigurationEditor_2Lorg_rhq_core_domain_configuration_Configuration_2Lorg_rhq_core_domain_configuration_Property_2Ljava_lang_Integer_2Lorg_rhq_core_domain_configuration_Property_2(Unknown source:0)
    at Unknown.org_rhq_enterprise_gui_coregui_client_components_configuration_GroupConfigurationEditor_updatePropertySimpleValue__Ljava_lang_Object_2Lorg_rhq_core_domain_configuration_PropertySimple_2Lorg_rhq_core_domain_configuration_definition_PropertyDefinitionSimple_2V(Unknown source:0)
    at Unknown.org_rhq_enterprise_gui_coregui_client_components_configuration_ConfigurationEditor$16_onChanged__Lcom_smartgwt_client_widgets_form_fields_events_ChangedEvent_2V
...

Comment 1 Ian Springer 2011-03-28 18:28:31 UTC
This is fixed by [master 16b8b02].

Comment 2 Sunil Kondkar 2011-05-11 10:22:46 UTC
Verified on rhq4 release build (Version: 4.0.0 Build Number: db0c817)

Verified in group connection properties and in configuration tab.
Entered a value in the "Set all values to:" text field. Clicked on 'Apply' and OK buttons. No exceptions are observed.

Marking as verified.

Comment 3 Corey Welton 2011-05-24 01:13:39 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 4 Corey Welton 2011-05-24 01:13:39 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 5 Corey Welton 2011-05-24 01:13:43 UTC
Bookkeeping - closing bug - fixed in recent release.