Commit 7eae200e authored by Jérome Perrin's avatar Jérome Perrin

Wrong message for 'message_incorrect_type' constraint error message.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19295 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2d7a3823
......@@ -70,7 +70,7 @@ class PropertyTypeValidity(Constraint):
message_unknown_type = "Attribute ${attribute_name} is defined with"\
" an unknown type ${type_name}"
message_incorrect_type = "Attribute ${attribute_name}"\
" should be of type ${expected_type} but is of type ${actual_type} (Fixed)"
" should be of type ${expected_type} but is of type ${actual_type}"
message_incorrect_type_fix_failed = "Attribute ${attribute_name}"\
" should be of type ${expected_type} but is of type ${actual_type}"\
" (Type cast failed with error ${type_cast_error})"
......
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