Commit f9726d13 authored by Jérome Perrin's avatar Jérome Perrin

add initialization spcecific for portal_transforms


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19470 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9b2fffa6
......@@ -797,6 +797,10 @@ class ObjectTemplateItem(BaseTemplateItem):
'could not restore %r in %r' % (subobject_id, obj))
if obj.meta_type in ('Z SQL Method',):
fixZSQLMethod(portal, obj)
# portal transforms specific initialization
elif obj.meta_type in ('Transform', 'TransformsChain'):
assert container.meta_type == 'Portal Transforms'
container._mapTransform(obj)
# now put original order group
# we remove object not added in forms
# we put old objects we have kept
......
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