Commit 20ebdda9 authored by Łukasz Nowak's avatar Łukasz Nowak

- remove key from result in case of its manipulation

It was working by chance, as sorting put modified key before original one.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45358 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a4c60764
......@@ -3570,6 +3570,7 @@ class PropertySheetTemplateItem(DocumentTemplateItem,
old_result = result.copy()
for k, v in old_result.iteritems():
if not k.startswith('portal_property_sheets/'):
result.pop(k)
# Magical way to have unique path in case of not yet migrated property
# sheets available on preinstall list
k = self._getKey(k)
......
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