lab.nexedi.com will be down from Thursday, 20 March 2025, 07:30:00 UTC for a duration of approximately 2 hours

Commit 619145d2 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Extension prefix in BusinessTemplate was added twice.

See 3c9e6966, maybe that commit and equivalent
commits should be reverted unless there is a rationale reason to do so...
parent fd327ab4
...@@ -3534,15 +3534,7 @@ class FilesystemToZodbTemplateItem(DocumentTemplateItem, ...@@ -3534,15 +3534,7 @@ class FilesystemToZodbTemplateItem(DocumentTemplateItem,
result = getattr(ObjectTemplateItem, method_name)(self, *args, **kw) result = getattr(ObjectTemplateItem, method_name)(self, *args, **kw)
else: else:
result = getattr(DocumentTemplateItem, method_name)(self, *args, **kw) result = getattr(DocumentTemplateItem, method_name)(self, *args, **kw)
if method_name == 'preinstall':
old_result = result.copy()
for k, v in old_result.iteritems():
if not k.startswith(self._tool_id + '/'):
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)
result[k] = v
return result return result
return inner return inner
......
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