> Betreff: Re: [Zope3-Users] WrongContainedType


> By reading the source code.
> Object field validation actually attempts to validate the 
> schema (IObjectId in this case) of the object you're trying 
> to store (the ObjectId object, in this case).  If any of the 
> fields cannot be validated during this nested validation, you 
> get a WrongContainedType with the list of errors (one for each field).

I whould be really happy if we could set a flag in the Object field
which whould force to avoid the storing object validation based on the
given schema.

What do you think about a validateSchema=True/False option or something
like that?

Roger Ineichen

Zope3-users mailing list

Reply via email to