Commit 2e7fbe79 authored by Vincent Pelletier's avatar Vincent Pelletier

fixup! BusinessTemplate: Kill fillRecursivePathList.

parent 6194939d
......@@ -1306,7 +1306,8 @@ class ObjectTemplateItem(BaseTemplateItem):
for object_key in object_key_list:
if path_match.startswith(object_key + '/'):
to_delete_dict[path] = action
for path, action in to_delete_dict.iteritems():
# Sort by path so that, for example, form is created before its fields.
for path, action in sorted(to_delete_dict.iteritems()):
document = self.unrestrictedResolveValue(portal, path, None)
if document is None:
continue
......
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