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)