Commit b53dbfca authored by Nicolas Delaby's avatar Nicolas Delaby

Do not use acquisition to insure receiving targetted object

parent 7625cd2c
...@@ -1603,7 +1603,7 @@ class SkinTemplateItem(ObjectTemplateItem): ...@@ -1603,7 +1603,7 @@ class SkinTemplateItem(ObjectTemplateItem):
if not force: if not force:
if update_dict[relative_url] == 'nothing': if update_dict[relative_url] == 'nothing':
continue continue
folder = p.unrestrictedTraverse(relative_url) folder = self.unrestrictedResolveValue(p, relative_url)
for obj in folder.objectValues(spec=('Z SQL Method',)): for obj in folder.objectValues(spec=('Z SQL Method',)):
fixZSQLMethod(p, obj) fixZSQLMethod(p, obj)
if folder.aq_parent.meta_type == 'CMF Skins Tool': if folder.aq_parent.meta_type == 'CMF Skins Tool':
......
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