Commit dada8b6d authored by Nicolas Dumazet's avatar Nicolas Dumazet

Class Tool is very particular in the sense that it has different portal types

depending on allowClassTool() value.

I have no immediate easy solution for this tool for now: disable indexing it
to avoid activity loops when trying to call isResourceType or other indexing
guards against this tool that has no accessors.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43212 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9a453e85
......@@ -255,6 +255,7 @@ if allowClassTool():
id = 'portal_classes'
meta_type = 'ERP5 Class Tool'
portal_type = 'Class Tool'
isIndexable = False
# Declarative Security
security = ClassSecurityInfo()
......@@ -1261,6 +1262,7 @@ else:
id = 'portal_classes'
meta_type = 'ERP5 Dummy Class Tool'
portal_type = 'Dummy Class Tool'
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