[ZODB-Dev] Help! New Serial handling code causing exceptions.
John D. Heintz
jheintz@isogen.com
Wed, 16 May 2001 17:06:26 -0500
Thanks, that sure worked.
I still can't see rev 1.52 though...
John
On Wednesday 16 May 2001 11:43, Jeremy Hylton wrote:
> I don't know, but I wouldn't be surprised if it did. (Perhaps Ken can
> answer.) Until then, the patch is simple.
>
> Jeremy
>
> Here's a patch (with the __version__ update elided).
>
> *** Connection.py.~1.51~ Wed May 16 17:40:45 2001
> --- Connection.py Wed May 16 16:47:38 2001
> ***************
> *** 630,635 ****
> --- 630,637 ----
> assert oid is not None
> serial = store_return
> obj = self._cache.get(oid, None)
> + if obj is None:
> + return
> if serial == ResolvedSerial:
> obj._p_changed = None
> else:
>
>
>
>
> _______________________________________________
> For more information about ZODB, see the ZODB Wiki:
> http://www.zope.org/Wikis/ZODB/
>
> ZODB-Dev mailing list - ZODB-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zodb-dev
--
. . . . . . . . . . . . . . . . . . . . . . . .
John D. Heintz | Senior Engineer
1016 La Posada Dr. | Suite 240 | Austin TX 78752
T 512.633.1198 | jheintz@isogen.com
w w w . d a t a c h a n n e l . c o m