[jboss-jira] [JBoss JIRA] (WFCORE-624) Result transformation for composite op failures is broken

Brian Stansberry (JIRA) issues at jboss.org
Fri Mar 10 14:41:00 EST 2017


     [ https://issues.jboss.org/browse/WFCORE-624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated WFCORE-624:
------------------------------------
    Labels: domain-mode  (was: )


> Result transformation for composite op failures is broken
> ---------------------------------------------------------
>
>                 Key: WFCORE-624
>                 URL: https://issues.jboss.org/browse/WFCORE-624
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 1.0.0.Beta2
>            Reporter: Brian Stansberry
>              Labels: domain-mode
>
> CompositeOperationTransformer.CompositeResultTransformer works by analyzing the "step-x" entries in the remote response's "result" node, and then transforming that node.
> This breaks down when the failure actually occurs in the remote CompositeOperationHandler, as will be the case if the step refers to a resource or operation that is undefined on that node. In that case there is no "result" node with steps, just a top level failure.
> CompositeResultTransformer will actually add a "result" node with the expected error message in this case, but that basically works by luck. And the high level error message for the overall op will no be transformed.
> Possible improvements:
> 1) CompositeOperationHandler sets up a result node in this case, so CompositeResultTransformer can process it.
> 2) CompositeResultTransformer can try and fix up the top level error message as well.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list