Log message for revision 87748: fixed outdated transaction.commit(1) call in ZODBMountPoint.SimpleTrailblazer
Changed: U Zope/branches/2.11/doc/CHANGES.txt U Zope/branches/2.11/lib/python/Products/ZODBMountPoint/MountedObject.py -=- Modified: Zope/branches/2.11/doc/CHANGES.txt =================================================================== --- Zope/branches/2.11/doc/CHANGES.txt 2008-06-25 09:50:28 UTC (rev 87747) +++ Zope/branches/2.11/doc/CHANGES.txt 2008-06-25 09:54:25 UTC (rev 87748) @@ -11,6 +11,9 @@ - Launchpad #239636: Ensure that HEAD requests lock an empty body for NotFound errors. + - fixed outdated transaction.commit(1) call in + ZODBMountPoint.SimpleTrailblazer + Zope 2.11.0 (2008/06/15) Restructuring Modified: Zope/branches/2.11/lib/python/Products/ZODBMountPoint/MountedObject.py =================================================================== --- Zope/branches/2.11/lib/python/Products/ZODBMountPoint/MountedObject.py 2008-06-25 09:50:28 UTC (rev 87747) +++ Zope/branches/2.11/lib/python/Products/ZODBMountPoint/MountedObject.py 2008-06-25 09:54:25 UTC (rev 87748) @@ -60,7 +60,7 @@ o = context.restrictedTraverse(id) # Commit a subtransaction to assign the new object to # the correct database. - transaction.commit(1) + transaction.savepoint(optimistic=True) return o def traverseOrConstruct(self, path, omit_final=0): _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins