Commit 54a9e0b1 authored by Vincent Pelletier's avatar Vincent Pelletier

Make listbox validation survive subfield KeyErrors.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9794 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f1f7ff67
......@@ -2784,6 +2784,8 @@ class ListBoxValidator(Validator.Validator):
listbox[uid[4:]][sql] = value
except ValidationError, err: # XXXX import missing
pass
except KeyError:
pass
# Here we generate again the object_list with listbox the listbox we
# have just created
if len(listbox)>0:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment