plone/plone.directives.form — pull request #3 by datakurre (2013-06-06 23:39:48+00:00)
Title: Fix @validator to object field schema's field on z3c.form >= 2.9.0

Using @validator for any field of a DataGridField row schema will raise TypeError on z3c.form >= 2.9.0, because z3c.form expects that the field validator's validate-method accepts two argument (the new argument being `force=bool`).

https://github.com/zopefoundation/z3c.form/blob/master/src/z3c/form/object.py#L66

I tried to write a test for this, but it seems that z3c.form's "test fixture" is missing registrations for IObject-field and I didn't manage to write a working test (into test_validator.py).