[Erp5-report] r22603 - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateItem/p...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jul 21 18:00:56 CEST 2008


Author: jerome
Date: Mon Jul 21 18:00:45 2008
New Revision: 22603

URL: http://svn.erp5.org?rev=22603&view=rev
Log:
also encode path in utf8

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=22603&r1=22602&r2=22603&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 18:00:45 2008
@@ -247,7 +247,10 @@
                 absolut_path_element_list.append(element[\'value\'])\n
                 # Get the next depth\n
                 break\n
-          category_properties[\'path\'] = \'/\'.join([base_category_id,] + absolut_path_element_list[::-1])\n
+          path = \'/\'.join([base_category_id,] + absolut_path_element_list[::-1])\n
+          if same_type(path, u\'\'):\n
+            path = path.encode(\'utf8\')\n
+          category_properties[\'path\'] = path\n
 \n
           # Save the current raw path item value as title if no title column defined\n
           if \'title\' not in category_properties.keys():\n
@@ -281,6 +284,12 @@
         </item>
         <item>
             <key> <string>_filepath</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_owner</string> </key>
             <value>
               <none/>
             </value>
@@ -368,6 +377,7 @@
                             <string>range</string>
                             <string>searched_depth</string>
                             <string>element</string>
+                            <string>path</string>
                             <string>clean_title</string>
                           </tuple>
                         </value>
@@ -388,6 +398,12 @@
             <value> <string>Base_getCategoriesSpreadSheetMapping</string> </value>
         </item>
         <item>
+            <key> <string>uid</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
             <key> <string>warnings</string> </key>
             <value>
               <tuple/>

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=22603&r1=22602&r2=22603&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision Mon Jul 21 18:00:45 2008
@@ -1,1 +1,1 @@
-912
+913




More information about the Erp5-report mailing list