Commit 4c5e632f authored by Nicolas Dumazet's avatar Nicolas Dumazet

SolverTool, as a Type Provider, needs to be handled carefully:

in fact, accessing erp5.portal_types will try loading the contents
of portal_solvers as well...


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41375 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ccf30f5c
......@@ -118,10 +118,12 @@ property_sheet_generating_portal_type_set = set()
# Property Sheet to allow the outer (which will actually be stored in
# 'erp5.portal_type') to be fully generated.
core_portal_type_class_dict = {
'Base Type': {'type_class': 'ERP5TypeInformation',
'generating': False},
'Types Tool': {'type_class': 'TypesTool',
'generating': False}
'Base Type': {'type_class': 'ERP5TypeInformation',
'generating': False},
'Types Tool': {'type_class': 'TypesTool',
'generating': False},
'Solver Tool': {'type_class': 'SolverTool',
'generating': False}
}
def generatePortalTypeClass(portal_type_name):
......
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