Commit f873072b authored by Vincent Pelletier's avatar Vincent Pelletier

Use CMFActivity serialization_tag feature to make sure activity "commit" order...

Use CMFActivity serialization_tag feature to make sure activity "commit" order is coherent with their "begin" order.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19439 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e963abcf
...@@ -2713,6 +2713,7 @@ class Base( CopyContainer, ...@@ -2713,6 +2713,7 @@ class Base( CopyContainer,
self.activate(group_method_id='portal_catalog/catalogObjectList', self.activate(group_method_id='portal_catalog/catalogObjectList',
alternate_method_id='alternateReindexObject', alternate_method_id='alternateReindexObject',
group_id=group_id, group_id=group_id,
serialization_tag=self.getPath() + '%',
**activate_kw).immediateReindexObject(**kw) **activate_kw).immediateReindexObject(**kw)
security.declarePublic('recursiveReindexObject') security.declarePublic('recursiveReindexObject')
......
...@@ -1101,6 +1101,7 @@ class Folder(CopyContainer, CMFBTreeFolder, CMFHBTreeFolder, Base, FolderMixIn, ...@@ -1101,6 +1101,7 @@ class Folder(CopyContainer, CMFBTreeFolder, CMFHBTreeFolder, Base, FolderMixIn,
expand_method_id='getIndexableChildValueList', expand_method_id='getIndexableChildValueList',
alternate_method_id='alternateReindexObject', alternate_method_id='alternateReindexObject',
group_id=group_id, group_id=group_id,
serialization_tag=self.getPath() + '%',
**activate_kw).recursiveImmediateReindexObject(**kw) **activate_kw).recursiveImmediateReindexObject(**kw)
security.declareProtected( Permissions.AccessContentsInformation, security.declareProtected( Permissions.AccessContentsInformation,
......
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