[jira] Updated: (NAN-11) Problems with rollback in Prevayler

[email protected] Wed, 13 Aug 2003 05:37:37 -0500 (CDT)
Newsgroups gmane.comp.java.nanning.devel
Message-ID <6781509.1060771057772.JavaMail.orion__6923.58180317587$1060770683@hogshead.codehaus.org>
The following issue has been updated:

    Updater: Jon Tirsen (mailto:[email protected])
       Date: Wed, 13 Aug 2003 5:36 AM
    Changes:
             Version changed to 1.0-beta-1
             Component changed to Prevayler
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=NAN-11&page=history

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=NAN-11


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: NAN-11
    Summary: Problems with rollback in Prevayler
       Type: Bug

     Status: Reopened
   Priority: Major

 Time Spent: Unknown
  Remaining: Unknown

    Project: nanning
 Components: 
             Prevayler
   Fix Fors:
             1.0-beta-1
   Versions:
             1.0-beta-1

   Assignee: 
   Reporter: Jon Tirsen

    Created: Wed, 13 Aug 2003 5:26 AM
    Updated: Wed, 13 Aug 2003 5:36 AM

Description:
Solve PrevaylerTest.testChangeAndReturnPreviousValue

Conversation over Yahoo Messenger:
jon_tirsen: okay, I basically think I know what the error is...
jon_tirsen: when the object is passed as an argument to the change-method
jon_tirsen: it is registered for an id with the foodTaster.
jon_tirsen: the id is then resolved and the method is executed on the foodTaster.
jon_tirsen: the *same* object is then registered with the king.
jon_tirsen: id resolved resulting in same object being passed to the king.
jon_tirsen: at the second call the objects value has already been changed.
jon_tirsen: it's solvable, but a little tricky.
jon_tirsen: basically I need to make copies of the object for each system.
jon_tirsen: it's something I've been thinking about anyway...
jon_tirsen: you there?
hobbyrapper: yeah, 
hobbyrapper: sounds good
jon_tirsen: okay, I'll report this as a bug to JIRA and try to work on it later on.
hobbyrapper: cool
hobbyrapper: i have disabled the rollback support in my prevayler jar in the meantime
jon_tirsen: yeah, that's probably best...


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira