[Erp5-report] r19784 - /erp5/trunk/products/ERP5Type/patches/DCWorkflow.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Mar 11 12:09:38 CET 2008


Author: alex
Date: Tue Mar 11 12:09:38 2008
New Revision: 19784

URL: http://svn.erp5.org?rev=19784&view=rev
Log:
allow access to msg property of ValidationFailed

Modified:
    erp5/trunk/products/ERP5Type/patches/DCWorkflow.py

Modified: erp5/trunk/products/ERP5Type/patches/DCWorkflow.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/patches/DCWorkflow.py?rev=19784&r1=19783&r2=19784&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/patches/DCWorkflow.py (original)
+++ erp5/trunk/products/ERP5Type/patches/DCWorkflow.py Tue Mar 11 12:09:38 2008
@@ -270,6 +270,7 @@
 
 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




More information about the Erp5-report mailing list