Declaring a validation schema other than MappingSchema
may throw an uncaught exception
#250
Labels
MappingSchema
may throw an uncaught exception
#250
The
colander.Mapping
type is the only type that has theunknown
attribute. During schema validation, this attribute is accessed.Therefore any otherwise valid body will thrown an exception on validation if the declared schema type is not a
colander.Mapping
. Essentially this means anything other than acolander.MappingSchema
.Example:
Traceback:
Somewhat related: #249
The text was updated successfully, but these errors were encountered: