Commit 35ad08a2 authored by Arnaud Fontaine's avatar Arnaud Fontaine

ZODB Components: No need to migrate Component Tool, only exist since Portal...

ZODB Components: No need to migrate Component Tool, only exist since Portal Type as Classes and ZODB Property Sheets.
parent 09e025bd
......@@ -1611,7 +1611,7 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
for tool in self.objectValues():
if isinstance(tool, BaseTool):
tool_id = tool.id
if tool_id != 'portal_property_sheets':
if tool_id not in ('portal_property_sheets', 'portal_components'):
if tool_id in ('portal_categories', ):
tool = tool.activate()
tool.migrateToPortalTypeClass(tool_id not in (
......
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