[Erp5-report] r9898 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplate...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Sep 14 11:16:45 CEST 2006


Author: aurel
Date: Thu Sep 14 11:16:42 2006
New Revision: 9898

URL: http://svn.erp5.org?rev=9898&view=rev
Log:
2006-09-14 Aurel
* fix removeUnpickableObject in Base_callDialogMethod to take listbox into account

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_callDialogMethod.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_callDialogMethod.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_callDialogMethod.xml?rev=9898&r1=9897&r2=9898&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_callDialogMethod.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_callDialogMethod.xml Thu Sep 14 11:16:42 2006
@@ -88,6 +88,11 @@
   """\n
   cleaned_dict = request_form.copy()\n
   for k, v in cleaned_dict.items():\n
+    if k == \'listbox\':\n
+      new_list = []\n
+      for line in v:\n
+        new_list.append(removeUnpickableObjectsFromDict(line))\n
+      cleaned_dict[k] = tuple(new_list)\n
     if v in (None, \'\') or hasattr(v, \'read\'):\n
       del cleaned_dict[k]\n
   return cleaned_dict\n
@@ -205,7 +210,6 @@
       listbox_line_list.append(listbox_line)\n
     listbox_line_list = tuple(listbox_line_list)\n
     request_form[listbox_id] = listbox_line_list\n
-\n
 if enable_pickle or (form.update_action != \'\'):\n
   request_form_cleaned = removeUnpickableObjectsFromDict(request_form)\n
   request_form[\'pickle_string\'] = context.portal_selections.getPickle(**request_form_cleaned)\n
@@ -281,6 +285,12 @@
         </item>
         <item>
             <key> <string>_filepath</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_owner</string> </key>
             <value>
               <none/>
             </value>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log?rev=9898&r1=9897&r2=9898&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log Thu Sep 14 11:16:42 2006
@@ -1,3 +1,6 @@
+2006-09-14 Aurel
+* fix removeUnpickableObject in Base_callDialogMethod to take listbox into account
+
 2006-09-13 Kevin
 * Fix developper mode rendering bug.
 * erp5.js is needed in web mode by admin toolbox which display context_box_render.

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=9898&r1=9897&r2=9898&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Thu Sep 14 11:16:42 2006
@@ -1,1 +1,1 @@
-179
+181




More information about the Erp5-report mailing list