Commit 016a1c8d authored by Julien Muchembled's avatar Julien Muchembled

client: fix serials of newly created objects in tpc_finish

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2801 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 018ee61e
...@@ -43,7 +43,7 @@ if needs_patch: ...@@ -43,7 +43,7 @@ if needs_patch:
for oid in oid_iterator: for oid in oid_iterator:
obj = self._cache.get(oid, None) obj = self._cache.get(oid, None)
# Ignore missing objects and don't update ghosts. # Ignore missing objects and don't update ghosts.
if obj is not None and obj._p_changed: if obj is not None and obj._p_changed is not None:
obj._p_changed = 0 obj._p_changed = 0
obj._p_serial = serial obj._p_serial = serial
self._tpc_cleanup() self._tpc_cleanup()
......
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