From ed4dd599c432cf76d0053629ab78fa7c8f642f22 Mon Sep 17 00:00:00 2001 From: Jean-Paul Smets <jp@nexedi.com> Date: Sun, 25 Apr 2004 19:03:35 +0000 Subject: [PATCH] added validation step git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@728 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/CMFActivity/Activity/SQLDict.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product/CMFActivity/Activity/SQLDict.py b/product/CMFActivity/Activity/SQLDict.py index 9eefeedebe..61bed4d7ed 100755 --- a/product/CMFActivity/Activity/SQLDict.py +++ b/product/CMFActivity/Activity/SQLDict.py @@ -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): -- 2.30.9