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 @@ ...@@ -18,7 +18,9 @@
<item> <item>
<key> <string>delegated_message_list</string> </key> <key> <string>delegated_message_list</string> </key>
<value> <value>
<list/> <list>
<string>external_validator_failed</string>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -28,7 +30,12 @@ ...@@ -28,7 +30,12 @@
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
<value> <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> </value>
</item> </item>
<item> <item>
......
...@@ -15,7 +15,9 @@ ...@@ -15,7 +15,9 @@
<item> <item>
<key> <string>delegated_message_list</string> </key> <key> <string>delegated_message_list</string> </key>
<value> <value>
<list/> <list>
<string>external_validator_failed</string>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -25,7 +27,12 @@ ...@@ -25,7 +27,12 @@
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
<value> <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> </value>
</item> </item>
<item> <item>
......
...@@ -15,7 +15,9 @@ ...@@ -15,7 +15,9 @@
<item> <item>
<key> <string>delegated_message_list</string> </key> <key> <string>delegated_message_list</string> </key>
<value> <value>
<list/> <list>
<string>external_validator_failed</string>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -25,7 +27,12 @@ ...@@ -25,7 +27,12 @@
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
<value> <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> </value>
</item> </item>
<item> <item>
......
40941 40942
\ No newline at end of file \ 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