Commit 1aa70bbf authored by Julien Muchembled's avatar Julien Muchembled

fixup! CMFActivity: new invokeGroup API

For the new GroupedMessage class in commit
da234001, I renamed 'obj' to 'object'
at the last minute and I missed 2 occurrences.
parent 3d7289b9
...@@ -1334,7 +1334,8 @@ class ActivityTool (Folder, UniqueObject): ...@@ -1334,7 +1334,8 @@ class ActivityTool (Folder, UniqueObject):
m.setExecutionState(MESSAGE_NOT_EXECUTED, exc_info, log=False) m.setExecutionState(MESSAGE_NOT_EXECUTED, exc_info, log=False)
LOG('WARNING ActivityTool', 0, LOG('WARNING ActivityTool', 0,
'Could not call method %s on objects %s' % 'Could not call method %s on objects %s' %
(method_id, [x.obj for x in expanded_object_list]), error=exc_info) (method_id, [x.object for x in expanded_object_list]),
error=exc_info)
error_log = getattr(self, 'error_log', None) error_log = getattr(self, 'error_log', None)
if error_log is not None: if error_log is not None:
error_log.raising(exc_info) error_log.raising(exc_info)
...@@ -1354,7 +1355,7 @@ class ActivityTool (Folder, UniqueObject): ...@@ -1354,7 +1355,7 @@ class ActivityTool (Folder, UniqueObject):
if result_list and m.active_process: if result_list and m.active_process:
active_process = traverse(m.active_process) active_process = traverse(m.active_process)
for result in result_list: for result in result_list:
m.activateResult(active_process, result.result, result.obj) m.activateResult(active_process, result.result, result.object)
except: except:
exc_info = None exc_info = None
else: else:
......
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