From 481d44ead32d3dc426e5dafd7883008932402487 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Fri, 7 Dec 2007 16:34:05 +0000
Subject: [PATCH] also cancel runInventoryMethod at hot reindexing cancellation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18130 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ZSQLCatalog/ZSQLCatalog.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ZSQLCatalog/ZSQLCatalog.py b/product/ZSQLCatalog/ZSQLCatalog.py
index e0a0332116..a557ef1182 100644
--- a/product/ZSQLCatalog/ZSQLCatalog.py
+++ b/product/ZSQLCatalog/ZSQLCatalog.py
@@ -321,7 +321,7 @@ class ZCatalog(Folder, Persistent, Implicit):
       object_path = self.getPhysicalPath()
       # Activities must be removed in the reverse order they were inserted
       # to make sure removing one does not accidntaly trigger the next one.
-      method_id_list = ('finishHotReindexing', 'playBackRecordedObjectList',
+      method_id_list = ('finishHotReindexing', 'runInventoryMethod', 'playBackRecordedObjectList',
                         'setHotReindexingState')
       for method_id in method_id_list:
         portal_activities.flush(object_path, method_id=method_id)
-- 
2.30.9