[ZODB-Dev] Help! New Serial handling code causing exceptions.

Jeremy Hylton jeremy@digicool.com
Wed, 16 May 2001 12:43:56 -0400 (EDT)


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: