Commit 54137eaa authored by Nicolas Delaby's avatar Nicolas Delaby

same fix as 33799


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33805 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent adc42804
......@@ -2045,10 +2045,10 @@ class PortalTypeAllowedContentTypeTemplateItem(BaseTemplateItem):
new_key_list = self._objects.keys()
new_dict = PersistentMapping()
# fix key if necessary in installed bt for diff
for key in installed_item._objects.keys():
for key, value in installed_item._objects.iteritems():
if self.class_property not in key:
key = '%s/%s' % (self.class_property, key)
new_dict[key] = installed_item._objects[key]
new_dict[key] = value
if new_dict:
installed_item._objects = new_dict
for path in new_key_list:
......
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