Commit 0dd3d456 authored by Sebastien Robin's avatar Sebastien Robin

check again if the portal isIndexable, it was removed by mystake by jp


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@916 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b47d4b1d
......@@ -345,9 +345,9 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base):
# LOG("Call SQL Method %s with args:" % method_name,0, str(kw))
# Alter row
# Create row
#try:
if 1:
#LOG("Call SQL Method %s with args:" % method_name,0, str(kw))
zope_root = self.getPortalObject().aq_parent
root_indexable = int(getattr(zope_root,'isIndexable',1))
if root_indexable:
method(**kw)
#except:
# # # This is a real LOG message
......
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