default value validated before missing_value is set in zope.schema.Field.
Bug #191239 reported by
Jacob Holm
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).
Changed in zope3: | |
status: | New → Won't Fix |
To post a comment you must log in.
Now tracked on Github:
https:/ /github. com/zopefoundat ion/zope. schema/ issues/ 12