From 6f0ce1b8546d78aeb752794e6e4f93e913257ab7 Mon Sep 17 00:00:00 2001 From: Alexandre Boeglin <alex@nexedi.com> Date: Tue, 11 Mar 2008 11:09:38 +0000 Subject: [PATCH] allow access to msg property of ValidationFailed git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19784 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/patches/DCWorkflow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product/ERP5Type/patches/DCWorkflow.py b/product/ERP5Type/patches/DCWorkflow.py index 1f89b2f0a7..6ba096a3da 100644 --- a/product/ERP5Type/patches/DCWorkflow.py +++ b/product/ERP5Type/patches/DCWorkflow.py @@ -270,6 +270,7 @@ DCWorkflowDefinition.getWorklistVariableMatchDict = DCWorkflowDefinition_getWork class ValidationFailed(Exception): """Transition can not be executed because data is not in consistent state""" + __allow_access_to_unprotected_subobjects__ = {'msg': 1} def __init__(self, message_instance=None): """ Redefine init in order to register the message class instance -- 2.30.9