Commit 8af6f699 authored by Andreas Jung's avatar Andreas Jung

fixed outdated transaction.commit(1) call in ZODBMountPoint.SimpleTrailblazer

parent ce1fe6ee
......@@ -11,6 +11,9 @@ Zope Changes
- 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
......
......@@ -60,7 +60,7 @@ class SimpleTrailblazer:
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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment