[jboss-jira] [JBoss JIRA] (WFCORE-3332) Chained transformers don't work correctly if an earlier transformer in the chain converts an op into a composite

Brian Stansberry (JIRA) issues at jboss.org
Wed Oct 4 17:19:00 EDT 2017


Brian Stansberry created WFCORE-3332:
----------------------------------------

             Summary: Chained transformers don't work correctly if an earlier transformer in the chain converts an op into a composite
                 Key: WFCORE-3332
                 URL: https://issues.jboss.org/browse/WFCORE-3332
             Project: WildFly Core
          Issue Type: Bug
          Components: Domain Management
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry


CompositeOperationTransformer doesn't work correctly if the resource against which transformation is occurring isn't the root. It asserts that it is the root, and therefore fails. And if that is corrected, then it passes an absolute address to a method that builds an absolute PathAddress from a relative one, instead of using the method that takes an absolute address.

Where I'm seeing this fail is with a chained transformer, where the first link in the chain converts an op into a composite. The op is not against the root, so the address of the resource being transformed also isn't. As the chain proceeds, CompositeOperationTransformer gets called and blows up. 



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


More information about the jboss-jira mailing list