diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py index 762ec122240518c220a59c1b3b26f916bfc93ac9..914c31aae5f31fb4e015b33d2c7ca141a60543ce 100755 --- a/product/ERP5Type/Base.py +++ b/product/ERP5Type/Base.py @@ -608,7 +608,6 @@ class Base( CopyContainer, PortalContent, ActiveObject, ERP5PropertyManager ): if TRANSACTION._erp5_acquisition_stack.has_key(acquisition_key): return null_value TRANSACTION._erp5_acquisition_stack[acquisition_key] = 1 - #LOG("Get Acquired Property key",0,str(key)) if storage_id is None: storage_id=key #LOG("Get Acquired Property storage_id",0,str(storage_id)) # If we hold an attribute and mask_value is set, return the attribute @@ -1893,7 +1892,7 @@ class Base( CopyContainer, PortalContent, ActiveObject, ERP5PropertyManager ): # immediateReindexObject. root_indexable = int(getattr(self.getPortalObject(),'isIndexable',1)) if self.isIndexable and root_indexable: - self.activate(group_method_id='portal_catalog/catalogObjectList', **kw).immediateReindexObject(*args, **kw) + self.activate(group_method_id='portal_catalog/catalogObjectList', alternate_method_id='alternateReindexObject', **kw).immediateReindexObject(*args, **kw) security.declarePublic('recursiveReindexObject') recursiveReindexObject = reindexObject diff --git a/product/ERP5Type/Document/Folder.py b/product/ERP5Type/Document/Folder.py index fa6c5be40f0517491c2d2c3f4324769bec943c97..8f5f4a735fa8694956ab3a09e8fe1d14fa70f9db 100755 --- a/product/ERP5Type/Document/Folder.py +++ b/product/ERP5Type/Document/Folder.py @@ -513,7 +513,7 @@ be a problem).""" """ root_indexable = int(getattr(self.getPortalObject(),'isIndexable',1)) if self.isIndexable and root_indexable: - self.activate(group_method_id='portal_catalog/catalogObjectList', expand_method_id='getIndexableChildValueList', **kw).recursiveImmediateReindexObject(*args, **kw) + self.activate(group_method_id='portal_catalog/catalogObjectList', expand_method_id='getIndexableChildValueList', alternate_method_id='alternateReindexObject', **kw).recursiveImmediateReindexObject(*args, **kw) security.declareProtected( Permissions.AccessContentsInformation, 'getIndexableChildValueList' ) def getIndexableChildValueList(self):