Commit 843ef61b authored by Vincent Pelletier's avatar Vincent Pelletier

Pass parameters to activated method called in invokeGroup.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12683 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 04637d8c
......@@ -723,11 +723,10 @@ class ActivityTool (Folder, UniqueObject):
try:
if len(expanded_object_list) > 0:
method = self.unrestrictedTraverse(method_id)
# FIXME: how to pass parameters?
# FIXME: how to apply security here?
# NOTE: expanded_object_list must be set to failed objects by the callee.
# If it fully succeeds, expanded_object_list must be empty when returning.
result = method(expanded_object_list)
result = method(expanded_object_list, **m.kw)
else:
result = None
except:
......
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