Commit 76206497 authored by Aurel's avatar Aurel

propagate already set default activate parameters


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16224 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a3c1a093
......@@ -129,7 +129,9 @@ class CopyContainer:
"""
uid = getattr(aq_base(obj), 'uid', None)
if uid is not None:
obj.setDefaultActivateParameters(after_tag = str(uid))
activate_kw = obj.getDefaultActivateParameterDict()
activate_kw["after_tag"] = str(uid)
obj.setDefaultActivateParameters(**activate_kw)
for sub_obj in obj.objectValues():
self._recursiveSetActivityAfterTag(sub_obj)
......
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