Re: [Zope3-Users] zope.formlib doesn't check invariants on subschemas - need workaround

2008-02-04 Thread Rudá Porto Filgueiras
On Feb 2, 2008 1:44 PM, Derek Richardson <[EMAIL PROTECTED]> wrote: > I have a schema, let's call it B. It contains an @invariant function. I > observed that it is not being called during form validation. > > After help from Philipp and some investigation, I determined that the > problem is that sc

Re: [Zope3-Users] zope.formlib doesn't check invariants on subschemas - need workaround

2008-02-02 Thread Stephan Richter
On Saturday 02 February 2008, Derek Richardson wrote: > After help from Philipp and some investigation, I determined that the > problem is that schema B isn't itself the main form, but is nested > within schema A as the value_type of a Tuple field. When schema A is > validated, schema B's invariant

[Zope3-Users] zope.formlib doesn't check invariants on subschemas - need workaround

2008-02-02 Thread Derek Richardson
I have a schema, let's call it B. It contains an @invariant function. I observed that it is not being called during form validation. After help from Philipp and some investigation, I determined that the problem is that schema B isn't itself the main form, but is nested within schema A as the v