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): ...@@ -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): if list(m.object_path) == list(object_path) and (method_id is None or method_id == m.method_id):
activity_tool.unregisterMessage(self, m) activity_tool.unregisterMessage(self, m)
if not method_dict.has_key(method_id): if not method_dict.has_key(method_id):
method_dict[method_id] = 1 # Prevents calling invoke twice
if invoke: if invoke:
# First Validate # First Validate
if m.validate(self, activity_tool): 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