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

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Wed Jul 31 03:05:26 EDT 2013


    [ https://issues.jboss.org/browse/LOGMGR-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794076#comment-12794076 ] 

RH Bugzilla Integration commented on LOGMGR-58:
-----------------------------------------------

pkremens at redhat.com made a comment on [bug 975559|https://bugzilla.redhat.com/show_bug.cgi?id=975559]

Verified on EAP 6.1.1 ER4
                
> 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.2.Final, 1.5.0.Beta1, 2.0.0.Beta1
>
>
> 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 least evasive 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