Hi

> 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?

Regards
Roger Ineichen

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to