better error messages for PropertySheet property id validation errors

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45038 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fc30b4d2
......@@ -18,7 +18,9 @@
<item>
<key> <string>delegated_message_list</string> </key>
<value>
<list/>
<list>
<string>external_validator_failed</string>
</list>
</value>
</item>
<item>
......@@ -28,7 +30,12 @@
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary/>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The provided id must have the right suffix for its type.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
......
......@@ -15,7 +15,9 @@
<item>
<key> <string>delegated_message_list</string> </key>
<value>
<list/>
<list>
<string>external_validator_failed</string>
</list>
</value>
</item>
<item>
......@@ -25,7 +27,12 @@
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary/>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The property id must have a \'_category\' suffix</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
......
......@@ -15,7 +15,9 @@
<item>
<key> <string>delegated_message_list</string> </key>
<value>
<list/>
<list>
<string>external_validator_failed</string>
</list>
</value>
</item>
<item>
......@@ -25,7 +27,12 @@
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary/>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The provided id must end with the "_property" suffix.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
......
40941
\ No newline at end of file
40942
\ No newline at end of file
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