[Erp5-report] r34385 ivan - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateI...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Apr 8 15:02:47 CEST 2010


Author: ivan
Date: Thu Apr  8 15:02:47 2010
New Revision: 34385

URL: http://svn.erp5.org?rev=34385&view=rev
Log:
Empty strings are not considered valid identifier.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getCategoriesSpreadSheetMapping.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getCategoriesSpreadSheetMapping.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getCategoriesSpreadSheetMapping.xml?rev=34385&r1=34384&r2=34385&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getCategoriesSpreadSheetMapping.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getCategoriesSpreadSheetMapping.xml [utf8] Thu Apr  8 15:02:47 2010
@@ -220,6 +220,9 @@
     for cell_index, cell in enumerate(line):\n
       # Get the property corresponding to the cell data\n
       property_id = property_map[cell_index]\n
+      if cell is not None and cell.strip()==\'\':\n
+        # empty string is NOT a valid identifier\n
+        cell=None\n
       line_data[property_id] = cell\n
       if cell and property_id.startswith(\'path_\'):\n
         path_defined.append(cell)\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=34385&r1=34384&r2=34385&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Thu Apr  8 15:02:47 2010
@@ -1,1 +1,1 @@
-1555
+1556




More information about the Erp5-report mailing list