[Zodb-checkins] CVS: ZODB3 - NEWS.txt:1.33.6.63

Tim Peters tim.one at comcast.net
Thu Feb 24 14:59:34 EST 2005


Update of /cvs-repository/ZODB3
In directory cvs.zope.org:/tmp/cvs-serv25842

Modified Files:
      Tag: Zope-2_7-branch
	NEWS.txt 
Log Message:
Change the exception raised when an attempt is made to add two objects to
the cache with the same oid.  The former messsage didn't make sense.

Add a test to verify that this exception does get raised, and that the
message given is the intended one.

This is the first of a series of checkins, to fix critical bugs where
ZODB can in fact raise this exception in rare, but normal, use cases.


=== ZODB3/NEWS.txt 1.33.6.62 => 1.33.6.63 ===
--- ZODB3/NEWS.txt:1.33.6.62	Fri Feb  4 14:50:13 2005
+++ ZODB3/NEWS.txt	Thu Feb 24 14:59:03 2005
@@ -28,6 +28,21 @@
 depending on platform, and should suffer far fewer (if any) intermittent
 "timed out waiting for storage to connect" failures.
 
+Pickle (in-memory Connection) Cache
+-----------------------------------
+
+You probably never saw this exception:
+
+    ``ValueError: Can not re-register object under a different oid``
+
+It's been changed to say what it meant:
+
+    ``ValueError: A different object already has the same oid``
+
+This happens if an attempt is made to add distinct objects to the cache
+that have the same oid (object identifier).  ZODB should never do this,
+but it's possible for application code to force such an attempt.
+
 Release
 -------
 



More information about the Zodb-checkins mailing list