Bug 745916 (EDG-21)

Summary: EndpointSubsystemParser produces incorrect DMR
Product: [JBoss] JBoss Data Grid 6 Reporter: Michal Linhard <mlinhard>
Component: unspecifiedAssignee: Default User <jbpapp-maint>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: jdg-bugs, nobody
Target Milestone: ---   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/EDG-21
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-01 08:41:54 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michal Linhard 2011-08-09 14:46:10 UTC
project_key: EDG

there's a bug in method EndpointSubsystemParser.readTopologyStateTransfer()
http://anonsvn.jboss.org/repos/edg/trunk/integration/src/main/java/com/redhat/datagrid/endpoint/EndpointSubsystemParser.java

it uses ModelNode.set(key, value) to set properties to topology-state-transfer sub-object
which initializes the undefined node to PropertyModelValue instead of ObjectModelValue and subsequent set's overwrite previous values.

ModelNode.get(key).set(value) should be used.

the problem exists also in EndpointSubsystemParser.readConnector()

Comment 1 Michal Linhard 2011-08-09 16:08:38 UTC
Attachment: Added: deadlock_stacks.zip


Comment 2 Michal Linhard 2011-08-09 16:09:14 UTC
Attachment: Removed: deadlock_stacks.zip 


Comment 3 Galder ZamarreƱo 2011-09-01 08:41:54 UTC
This is solved already in rev 78.

Comment 4 Anne-Louise Tangring 2011-09-26 19:41:29 UTC
Docs QE Status: Removed: NEW