From 51cc154051faa3e5cb8066bc980105bda9a65b70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Tue, 27 Nov 2007 09:10:48 +0000 Subject: [PATCH] "saved_form_data" is a dict used for relation field, it should not be passed to catalog. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17806 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Form/ListBox.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/product/ERP5Form/ListBox.py b/product/ERP5Form/ListBox.py index 0006ce0ee9..b71d5768b2 100644 --- a/product/ERP5Form/ListBox.py +++ b/product/ERP5Form/ListBox.py @@ -946,6 +946,9 @@ class ListBoxRenderer: if v in (None, '') or hasattr(v, 'read'): del params[k] + # remove some erp5_xhtml_style specific parameters + params.pop('saved_form_data', None) + # Set the columns. The idea behind this is that, instead of selecting all columns, # ListBox can specify only required columns, in order to reduce the data transferred # from a SQL Server to Zope. -- 2.30.9