From ce8fd0cb51055ba78373f006e462663452a99be8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Mon, 17 Dec 2007 10:24:41 +0000
Subject: [PATCH] archive path must not be reset to None in double indexing
 state

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

diff --git a/product/ZSQLCatalog/ZSQLCatalog.py b/product/ZSQLCatalog/ZSQLCatalog.py
index 38fc1a0cff..e2e6e34b93 100644
--- a/product/ZSQLCatalog/ZSQLCatalog.py
+++ b/product/ZSQLCatalog/ZSQLCatalog.py
@@ -522,7 +522,8 @@ class ZCatalog(Folder, Persistent, Implicit):
                   after_tag=final_activity_tag,
                   priority=5).setHotReindexingState(HOT_REINDEXING_DOUBLE_INDEXING_STATE,
                       source_sql_catalog_id=source_sql_catalog_id,
-                      destination_sql_catalog_id=destination_sql_catalog_id)
+                      destination_sql_catalog_id=destination_sql_catalog_id,
+                      archive_path=archive_path)
     # Once in double-indexing mode, planned reindex can be replayed.
     self.activate(passive_commit=1,
                   after_method_id='setHotReindexingState',
-- 
2.30.9