[Erp5-report] r45038 leonardo - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTempl...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Apr 4 11:42:42 CEST 2011
Author: leonardo
Date: Mon Apr 4 11:42:41 2011
New Revision: 45038
URL: http://svn.erp5.org?rev=45038&view=rev
Log:
better error messages for PropertySheet property id validation errors
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_view_mode_id_as_reference.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CategoryProperty_view/my_id.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/StandardProperty_view/my_id.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_view_mode_id_as_reference.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_view_mode_id_as_reference.xml?rev=45038&r1=45037&r2=45038&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_view_mode_id_as_reference.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_view_mode_id_as_reference.xml [utf8] Mon Apr 4 11:42:41 2011
@@ -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>
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CategoryProperty_view/my_id.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CategoryProperty_view/my_id.xml?rev=45038&r1=45037&r2=45038&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CategoryProperty_view/my_id.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CategoryProperty_view/my_id.xml [utf8] Mon Apr 4 11:42:41 2011
@@ -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>
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/StandardProperty_view/my_id.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/StandardProperty_view/my_id.xml?rev=45038&r1=45037&r2=45038&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/StandardProperty_view/my_id.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/StandardProperty_view/my_id.xml [utf8] Mon Apr 4 11:42:41 2011
@@ -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>
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=45038&r1=45037&r2=45038&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Mon Apr 4 11:42:41 2011
@@ -1 +1 @@
-40941
\ No newline at end of file
+40942
\ No newline at end of file
More information about the Erp5-report
mailing list