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
> against what the data manager returns. The value is indeed "missing in
> action"
>   3) If possible, we output the offending value in the error message
>   4) In use cases where it makes sense, people can use a field property
> implementation that checks the source and returns the default (or
> something else) if the value can't be found. That's not for z3c.form
> to decide or depend on though.

Sounds good.

Stephan Richter
Web Software Design, Development and Training
Google me. "Zope Stephan Richter"
Zope3-users mailing list

Reply via email to