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

Bug fix: wrapping a workflow method keeps the return value of the method


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4067 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c0969d2d
......@@ -919,7 +919,8 @@ def WorkflowTool_wrapWorkflowMethod(self, ob, method_id, func, args, kw):
# Call notifySuccess on each workflow
for w in wfs:
w.notifySuccess(ob, method_id, result, args=args, kw=kw)
return result
WorkflowTool.wrapWorkflowMethod = WorkflowTool_wrapWorkflowMethod
from Products.DCWorkflow.DCWorkflow import DCWorkflowDefinition
......
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