[Erp5-report] r43556 nicolas - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTempla...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Feb 22 14:05:08 CET 2011
Author: nicolas
Date: Tue Feb 22 14:05:07 2011
New Revision: 43556
URL: http://svn.erp5.org?rev=43556&view=rev
Log:
Do not try to validate empty TALES expression
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_validateStringFieldWithTALESExpression.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_validateStringFieldWithTALESExpression.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_validateStringFieldWithTALESExpression.xml?rev=43556&r1=43555&r2=43556&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_validateStringFieldWithTALESExpression.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_validateStringFieldWithTALESExpression.xml [utf8] Tue Feb 22 14:05:07 2011
@@ -52,7 +52,8 @@
<key> <string>_body</string> </key>
<value> <string>from Products.ERP5Type.Utils import isValidTALESExpression\n
from Products.Formulator.Errors import ValidationError\n
-\n
+if not value:\n
+ return True\n
valid, message = isValidTALESExpression(value)\n
if valid:\n
return True\n
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=43556&r1=43555&r2=43556&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Tue Feb 22 14:05:07 2011
@@ -1 +1 @@
-40899
\ No newline at end of file
+40900
\ No newline at end of file
More information about the Erp5-report
mailing list