Commit d0087e76 authored by Aurel's avatar Aurel

use SQLQueue as path is the same but params are different to uncatalog

object into archive


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16293 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 27bd8063
...@@ -825,8 +825,9 @@ class ZCatalog(Folder, Persistent, Implicit): ...@@ -825,8 +825,9 @@ class ZCatalog(Folder, Persistent, Implicit):
except KeyError: except KeyError:
continue continue
catalog_id = archive.getCatalogId() catalog_id = archive.getCatalogId()
self.activate(priority=archive.getPriority()).uncatalogObject(uid=uid,path=path, self.activate(activity="SQLQueue",
sql_catalog_id=catalog_id) priority=archive.getPriority()).uncatalogObject(uid=uid,path=path,
sql_catalog_id=catalog_id)
catalog = self.getSQLCatalog(sql_catalog_id) catalog = self.getSQLCatalog(sql_catalog_id)
if catalog is not None and catalog_id is None: if catalog is not None and catalog_id is None:
catalog.uncatalogObject(uid=uid,path=path) catalog.uncatalogObject(uid=uid,path=path)
......
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