diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml index 3f909c7f751ce8380f73e83aa3da75376c8ae59a..45e8fb02e50eaac35dd4c405f0705c3b8f38392b 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml @@ -215,7 +215,10 @@ if dialog_category == "object_search" :\n \n # if we have checked line in listbox, modify the selection\n listbox_uid = kw.get(\'listbox_uid\', None)\n -if listbox_uid is not None:\n +# In some cases, the listbox exists, is editable, but the selection name\n +# has no meaning, for example fast input dialogs.\n +# In such cases, we must not try to update a non-existing selection.\n +if listbox_uid is not None and kw.has_key(\'selection_name\'):\n uids = kw.get(\'uids\')\n selected_uids = context.portal_selections.updateSelectionCheckedUidList(\n kw[\'selection_name\'],\n diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision index 9d07aa0df55c353e18eea6f1b401946b5dad7bce..d25720879e9d5b2c8db60c8e908af0c01017e831 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/revision +++ b/product/ERP5/bootstrap/erp5_core/bt/revision @@ -1 +1 @@ -111 \ No newline at end of file +112 \ No newline at end of file