Commit 5eb2b567 authored by Nicolas Dumazet's avatar Nicolas Dumazet

We really never want our Tools to be indexable.

This causes problems with Tools that do not have a portal type
but still inherit from BaseTool, for instance Catalog Tool, Class Tool,
etc...:
when trying to index those tools, group methods such as isResourceType
are called on the Tools, and those that are not portal type classes
cause crashes, because they wont have such methods.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42824 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9f21ac3a
......@@ -41,6 +41,7 @@ class BaseTool (UniqueObject, Folder):
id = 'portal_base_tool' # Override this
meta_type = 'ERP5 Base Tool' # Override this
allowed_types = () # Override this
isIndexable = False
# Declarative Security
security = ClassSecurityInfo()
......
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