[jboss-jira] [JBoss JIRA] (WFCORE-441) Strange address handling in ReadResourceDescriptionHandler

Brian Stansberry (JIRA) issues at jboss.org
Tue Dec 2 13:16:39 EST 2014


Brian Stansberry created WFCORE-441:
---------------------------------------

             Summary: Strange address handling in ReadResourceDescriptionHandler
                 Key: WFCORE-441
                 URL: https://issues.jboss.org/browse/WFCORE-441
             Project: WildFly Core
          Issue Type: Bug
          Components: Domain Management
            Reporter: Brian Stansberry
            Priority: Minor


https://github.com/wildfly/wildfly-core/blob/master/controller/src/main/java/org/jboss/as/controller/operations/global/ReadResourceDescriptionHandler.java#L427 is suspect. AFAICT that operation variable will be from the original op that triggered the multi-part request. So its address is not the address of the bit that had the failure, but the use of that address implies the intent is that it is the bit that had the failure.

Perhaps it should be resultItem.get(OP_ADDR) ?



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jboss-jira mailing list