Uploaded image for project: 'JBoss Log Manager'
  1. JBoss Log Manager
  2. LOGMGR-58

Handler rollback gets null instance reference if prepare are invoked

XMLWordPrintable

      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.

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: