Commit de51e476 authored by Vincent Pelletier's avatar Vincent Pelletier

Make unindexObject use serialization tage to prevent object unindexation to...

Make unindexObject use serialization tage to prevent object unindexation to happen before/in parallel with reindexations of the same object.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22649 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f6cd2770
......@@ -358,7 +358,8 @@ class CopyContainer:
# Then start activty in order to remove lines in catalog,
# sql wich generate locks
catalog.activate(activity='SQLQueue',
tag='%s' % uid).unindexObject(None,
tag='%s' % uid,
serialization_tag=self.getRootDocumentPath()).unindexObject(None,
path=path,uid=uid)
security.declareProtected(Permissions.ModifyPortalContent, 'moveObject')
......
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