Activity log for bug #428039

Date Who What changed Old value New value Message
2009-09-11 18:13:25 Jacob Holm bug added bug
2009-09-11 18:13:25 Jacob Holm attachment added rollback_invalidate.patch http://launchpadlibrarian.net/31663353/rollback_invalidate.patch
2009-09-11 18:17:43 Jacob Holm description ZODB.TmpStore._rollback invalidates the cache before resetting. This causes any _p_invalidate methods to be called while the state has not yet been rolled back. This means that a custom _p_invalidate that loads the object after calling Persistent._p_invalidate, will load the wrong state. AFAICT, the bug is present in all versions of ZODB that support savepoints. The fix is simple, see attached patch against the trunk r103853 (including test). ZODB.Connection._rollback invalidates the cache before resetting the TmpStore. This causes any _p_invalidate methods to be called while the state has not yet been rolled back. This means that a custom _p_invalidate that loads the object after calling Persistent._p_invalidate, will load the wrong state. AFAICT, the bug is present in all versions of ZODB that support savepoints. The fix is simple, see attached patch against the trunk r103853 (including test).
2010-04-22 22:11:50 Jim Fulton zodb: importance Undecided High
2010-04-23 17:30:46 Jim Fulton zodb: status New Fix Committed
2010-04-23 17:32:26 Jim Fulton zodb: milestone 3.9.5
2010-04-23 17:32:41 Jim Fulton zodb: milestone 3.9.5 3.10.0a2
2010-04-23 17:32:48 Jim Fulton zodb: milestone 3.10.0a2 3.9.5
2010-04-23 17:33:05 Jim Fulton nominated for series zodb/3.10
2010-04-23 17:33:05 Jim Fulton bug task added zodb/3.10
2010-04-23 17:33:05 Jim Fulton nominated for series zodb/3.9
2010-04-23 17:33:05 Jim Fulton bug task added zodb/3.9
2010-04-23 17:33:22 Jim Fulton zodb/3.10: status New Confirmed
2010-04-23 17:33:28 Jim Fulton zodb/3.10: milestone 3.10.0a2
2010-05-04 15:56:35 Jim Fulton zodb/3.10: status Confirmed Fix Committed
2010-05-13 14:56:23 Tres Seaver zodb/3.10: status Fix Committed Fix Released
2010-05-13 15:33:52 Tres Seaver zodb/3.9: status Fix Committed Fix Released