default value validated before missing_value is set in zope.schema.Field.

Bug #191239 reported by Jacob Holm
2
Affects Status Importance Assigned to Milestone
Zope 3
Won't Fix
Undecided
Unassigned
zope.schema
Won't Fix
Undecided
Unassigned

Bug Description

So the default is always validated using None as missing_value. This means that you can't set default = missing_value unless missing_value is None or something that is a valid field value. The fix is (probably) trivial, but I don't have the time now to do it properly (tests and all).

Tres Seaver (tseaver)
Changed in zope3:
status: New → Won't Fix
Revision history for this message
Tres Seaver (tseaver) wrote :
Changed in zope.schema:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.