[jboss-jira] [JBoss JIRA] (WFCORE-731) TransformerAttachmentGrabber always returns null with map operations

Radoslav Husar (JIRA) issues at jboss.org
Wed Jun 3 19:39:02 EDT 2015


Radoslav Husar created WFCORE-731:
-------------------------------------

             Summary: TransformerAttachmentGrabber always returns null with map operations
                 Key: WFCORE-731
                 URL: https://issues.jboss.org/browse/WFCORE-731
             Project: WildFly Core
          Issue Type: Bug
    Affects Versions: 2.0.0.Alpha3
            Reporter: Radoslav Husar
            Assignee: Kabir Khan
             Fix For: 2.0.0.Alpha4


Kabir, this whole thing seems a bit fragile. IIUC this was deviced primarily to address the issue with map operations not being transformable, but org.jboss.as.subsystem.test.TransformerAttachmentGrabber doesn't work with map operations, the attachment is always null.

I think the problem is with the step order, in org.jboss.as.subsystem.test.TransformerAttachmentGrabber#execute because the real op being a map operation which does attach(...) happens after the attachment is grabbed, that map ops are runtime only org.jboss.as.controller.operations.global.MapOperations#MAP_CLEAR_DEFINITION



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list