[Erp5-report] r22601 - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateItem/p...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jul 21 17:39:04 CEST 2008
Author: jerome
Date: Mon Jul 21 17:39:04 2008
New Revision: 22601
URL: http://svn.erp5.org?rev=22601&view=rev
Log:
Base_getCategoriesSpreadSheetMapping returns utf8 encoded strings, not unicode
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=22601&r1=22600&r2=22601&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getCategoriesSpreadSheetMapping.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getCategoriesSpreadSheetMapping.xml Mon Jul 21 17:39:04 2008
@@ -228,6 +228,8 @@
if cell_id not in (\'\', None):\n
# Handle normal properties\n
if not property_id.startswith(\'path_\'):\n
+ if same_type(cell_data, u\'\'):\n
+ cell_data = cell_data.encode(\'utf8\')\n
category_properties[property_id] = cell_data\n
# Handle \'path\' property\n
else:\n
@@ -358,6 +360,7 @@
<string>cell_data</string>
<string>cell_id</string>
<string>alt_id_source</string>
+ <string>same_type</string>
<string>path_element_id</string>
<string>absolut_path_element_list</string>
<string>int</string>
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=22601&r1=22600&r2=22601&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision Mon Jul 21 17:39:04 2008
@@ -1,1 +1,1 @@
-911
+912
More information about the Erp5-report
mailing list