# HG changeset patch # User Sylvain Thénault # Date 1263394771 -3600 # Node ID 39f01be4a6c5d9a941b9f35a6ded32590eea637a # Parent 67dd296f864d4be42b9c7cf758e1c5e81bd7b675 should skip INTERNAL_FIELD_VALUE diff -r 67dd296f864d -r 39f01be4a6c5 web/formfields.py --- a/web/formfields.py Wed Jan 13 15:57:57 2010 +0100 +++ b/web/formfields.py Wed Jan 13 15:59:31 2010 +0100 @@ -818,7 +818,8 @@ values = (values,) eids = set() for eid in values: - if not eid: # AutoCompletionWidget XXX deal with this in the widget + # XXX 'not eid' for AutoCompletionWidget, deal with this in the widget + if not eid or eid == INTERNAL_FIELD_VALUE: continue typed_eid = form.actual_eid(eid) if typed_eid is None: