nanning
  1. nanning
  2. NAN-11

Problems with rollback in Prevayler

    Details

    • Type: Bug Bug
    • Status: Reopened Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0-beta-1
    • Fix Version/s: 1.0-beta-1
    • Component/s: Prevayler
    • Labels:
      None
    • Number of attachments :
      0

      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...

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Jon Tirsen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: