Issue Type: Unit Tests: Problem Created: 2010-01-12T03:13:49.000+0000 Last Updated: 2010-01-12T04:05:25.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)
Reporter: Menno Luiten (mluiten) Assignee: Thomas Weidner (thomas) Tags: - Zend_Form
Related issues: Attachments: - ZF-8784.patch
Since the new NotEmpty implementation in r20020, giving an array with one element, like is done in testSetOptionsSetsArrayOfArrayValidators and testSetOptionsSetsArrayOfAssociativeArrayValidators, defaults to the Validator expecting that one element to be a type, resulting in an Exception when 'bar' is given instead. Patch for unit test will be attached, assuming this API change will be documented.
Posted by Menno Luiten (mluiten) on 2010-01-12T03:24:32.000+0000
Proposed patch of the unit tests
Posted by Thomas Weidner (thomas) on 2010-01-12T04:05:24.000+0000
Fixed with r20214. Thanks for the patch.
Have you found an issue?
See the Overview section for more details.