Commit 481d44ea authored by Aurel's avatar Aurel

also cancel runInventoryMethod at hot reindexing cancellation


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18130 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 28e8e2de
...@@ -321,7 +321,7 @@ class ZCatalog(Folder, Persistent, Implicit): ...@@ -321,7 +321,7 @@ class ZCatalog(Folder, Persistent, Implicit):
object_path = self.getPhysicalPath() object_path = self.getPhysicalPath()
# Activities must be removed in the reverse order they were inserted # Activities must be removed in the reverse order they were inserted
# to make sure removing one does not accidntaly trigger the next one. # to make sure removing one does not accidntaly trigger the next one.
method_id_list = ('finishHotReindexing', 'playBackRecordedObjectList', method_id_list = ('finishHotReindexing', 'runInventoryMethod', 'playBackRecordedObjectList',
'setHotReindexingState') 'setHotReindexingState')
for method_id in method_id_list: for method_id in method_id_list:
portal_activities.flush(object_path, method_id=method_id) portal_activities.flush(object_path, method_id=method_id)
......
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