Commit ed4dd599 authored by Jean-Paul Smets's avatar Jean-Paul Smets

added validation step


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@728 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 09e16aa4
......@@ -192,6 +192,7 @@ class SQLDict(RAMDict):
if list(m.object_path) == list(object_path) and (method_id is None or method_id == m.method_id):
activity_tool.unregisterMessage(self, m)
if not method_dict.has_key(method_id):
method_dict[method_id] = 1 # Prevents calling invoke twice
if invoke:
# First Validate
if m.validate(self, activity_tool):
......
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