[Erp5-report] r22649 - /erp5/trunk/products/ERP5Type/CopySupport.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jul 25 10:54:12 CEST 2008


Author: vincent
Date: Fri Jul 25 10:54:12 2008
New Revision: 22649

URL: http://svn.erp5.org?rev=22649&view=rev
Log:
Make unindexObject use serialization tage to prevent object unindexation to happen before/in parallel with reindexations of the same object.

Modified:
    erp5/trunk/products/ERP5Type/CopySupport.py

Modified: erp5/trunk/products/ERP5Type/CopySupport.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/CopySupport.py?rev=22649&r1=22648&r2=22649&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/CopySupport.py (original)
+++ erp5/trunk/products/ERP5Type/CopySupport.py Fri Jul 25 10:54:12 2008
@@ -358,7 +358,8 @@
           # 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')




More information about the Erp5-report mailing list