[jboss-jira] [JBoss JIRA] (WFCORE-619) HostControllerExecutionSupport.MultiStepOpExecutionSupport doesn't format nested composites correctly
Brian Stansberry (JIRA)
issues at jboss.org
Thu Apr 2 08:09:18 EDT 2015
Brian Stansberry created WFCORE-619:
---------------------------------------
Summary: HostControllerExecutionSupport.MultiStepOpExecutionSupport doesn't format nested composites correctly
Key: WFCORE-619
URL: https://issues.jboss.org/browse/WFCORE-619
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 1.0.0.Beta2
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: 1.0.0.CR1
The getFormattedDomainResult isn't processing nested composites correctly. It takes the response for the top level step and passes it into the HostControllerExecutionSupport for that step. That's fine for the simple response variants of HostControllerExecutionSupport, which just return the passed in node. But it fails if the support for that step is in turn MultiStepOpExecutionSupport, as it is expecting a response node's 'result' child, not the outer response node itself.
Solution is to detect this, clone the outer response node, and pass it's 'result' child into the child MultiStepOpExecutionSupport, replacing the outer response node's 'result' with the return value.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list