Commit 55d3dfc7 authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: portal_transforms sub-objects should be given lowest priority during installation

This is because some of the files for portal_transforms are installed as component documents
and the installation for portal_transforms sub-objects wouldn't be successfull until the
components are installed and registered.
parent 00ef4a59
......@@ -2219,6 +2219,10 @@ class TemplateTool (BaseTool):
return 11
if len(split_path_list) == 2 and split_path_list[0] in ('portal_types', 'portal_categories'):
return 1
# portal_transforms objects needs portal_components installed first so
# as to register the modules
if len(split_path_list) == 2 and split_path_list[0] == 'portal_transforms':
return 12
if len(split_path_list) > 2:
return 10
if len(split_path_list) == 1:
......
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