Commit 6a96c204 authored by Andreas Jung's avatar Andreas Jung

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

parent 98147983
......@@ -8,6 +8,9 @@ Zope Changes
Bugs fixed
- fixed outdated transaction.commit(1) call in
ZODBMountPoint.SimpleTrailblazer
- Launchpad #239636: Ensure that HEAD requests lock an empty body
for NotFound errors.
......
......@@ -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