[jboss-jira] [JBoss JIRA] (LOGMGR-58) Handler rollback gets null instance reference if prepare are invoked

James Perkins (JIRA) jira-events at lists.jboss.org
Thu Feb 7 12:08:51 EST 2013


James Perkins created LOGMGR-58:
-----------------------------------

             Summary: Handler rollback gets null instance reference if prepare are invoked
                 Key: LOGMGR-58
                 URL: https://issues.jboss.org/browse/LOGMGR-58
             Project: JBoss Log Manager
          Issue Type: Bug
      Security Level: Public (Everyone can see)
            Reporter: James Perkins
            Assignee: James Perkins
             Fix For: 1.4.1.Final


When a forget/rollback is executed after a prepare the instance has already been removed from the refs. The reference should be held so that it can added back to the refs.

The best possible solution is to not invoke the {{applyPostCreate()}} in the prepare. This will require examination of all implementations to make sure values are set, but references are not removed in this phase.

The other option would be to add a commit step only invoked from the commit phase where references could be removed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list