Commit c95771ce authored by Aurel's avatar Aurel

call uncatalogObject on portal_catalog not archive


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16278 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e24c56a0
...@@ -825,7 +825,7 @@ class ZCatalog(Folder, Persistent, Implicit): ...@@ -825,7 +825,7 @@ class ZCatalog(Folder, Persistent, Implicit):
except KeyError: except KeyError:
continue continue
catalog_id = archive.getCatalogId() catalog_id = archive.getCatalogId()
archive.activate(priority=archive.getPriority()).uncatalogObject(uid=uid,path=path, self.activate(priority=archive.getPriority()).uncatalogObject(uid=uid,path=path,
sql_catalog_id=catalog_id) 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:
......
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