Uploaded image for project: 'JBoss Enterprise Data Grid'
  1. JBoss Enterprise Data Grid
  2. EDG-21

EndpointSubsystemParser produces incorrect DMR

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: EDG 6.0.0 Alpha
    • Fix Version/s: EDG 6.0.0 Alpha
    • Component/s: None
    • Labels:
      None

      Description

      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()

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mlinhard Michal Linhard
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: