Stephan Richter wrote:
On Wednesday 08 April 2009, Martin Aspeli wrote:
What I'd like to see:
1) z3c.form catches the LookupError and treats it as a valdiation
error (even on first render of the form), not a fatal error
2) z3c.form defaults to missing_value if there is a LookupError
Hi,
In z3c.form (at least with 1.9.0), if you have a Choice field and the
vocabulary changes so that an existing value (or the default value on an
add form) is no longer valid, you get a LookupError:
Module z3c.form.form, line 126, in updateWidgets
Module z3c.form.field, line 259, in
Hi Martin
-Ursprüngliche Nachricht-
Von: zope3-users-boun...@zope.org
[mailto:zope3-users-boun...@zope.org] Im Auftrag von Martin Aspeli
Gesendet: Dienstag, 7. April 2009 16:17
An: zope3-users@zope.org
Betreff: [Zope3-Users] z3c.form: LookupErrors
Hi,
In z3c.form (at least
On Tuesday 07 April 2009, Roger Ineichen wrote:
It'd be nicer if z3c.form would catch the error and return
field.missing_value or something like that. As it stands, if
this happens with a content object, it's impossible to reach
the edit form and fix the value!
This is a legacy data
Hi Stephan
-Ursprüngliche Nachricht-
Von: Stephan Richter [mailto:srich...@cosmos.phy.tufts.edu]
Gesendet: Dienstag, 7. April 2009 19:30
An: zope3-users@zope.org; d...@projekt01.ch
Cc: 'Martin Aspeli'
Betreff: Re: [Zope3-Users] z3c.form: LookupErrors
On Tuesday 07 April 2009