Bug 745916 (EDG-21) - EndpointSubsystemParser produces incorrect DMR
Summary: EndpointSubsystemParser produces incorrect DMR
Keywords:
Status: CLOSED NEXTRELEASE
Alias: EDG-21
Product: JBoss Data Grid 6
Classification: JBoss
Component: unspecified
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 6.0.0
Assignee: Default User
QA Contact:
URL: http://jira.jboss.org/jira/browse/EDG-21
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-09 14:46 UTC by Michal Linhard
Modified: 2014-03-17 04:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-01 08:41:54 UTC
Type: Feature Request


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker EDG-21 0 None None None Never

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 



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