[Zope3-dev] __repr__ of ValidationErrors in zope.schema

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Aug 24 10:06:29 EDT 2007


On Friday 24 August 2007 09:52, Jim Fulton wrote:
> > What should we do about this?
>
> While better __str__s or __reprs__ is often nice, as a general  
> principal, errors should be displayed through adaptation -- basically  
> views.

They are, but the text is used by the views to show the error. This makes 
people be lazy and not create custom error views for each error. I will take 
some time in the next days creating nicer error views for the zope.schema 
exceptions in z3c.form.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-dev mailing list