Commit 6f0ce1b8 authored by Alexandre Boeglin's avatar Alexandre Boeglin

allow access to msg property of ValidationFailed

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19784 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0bf91051
......@@ -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
......
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