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): ...@@ -723,11 +723,10 @@ class ActivityTool (Folder, UniqueObject):
try: try:
if len(expanded_object_list) > 0: if len(expanded_object_list) > 0:
method = self.unrestrictedTraverse(method_id) method = self.unrestrictedTraverse(method_id)
# FIXME: how to pass parameters?
# FIXME: how to apply security here? # FIXME: how to apply security here?
# NOTE: expanded_object_list must be set to failed objects by the callee. # 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. # 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: else:
result = None result = None
except: 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