ZF-8125: Zend_Form doen't set correctly a validator if have set only 1 option

Issue Type: Bug Created: 2009-10-22T15:21:27.000+0000 Last Updated: 2009-11-12T15:06:46.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: Stefano Tamagnini (yoghi) Assignee: Thomas Weidner (thomas) Tags: - Zend_Form

Related issues: Attachments:


Zend_Form cannot set correctly options of validator's element if 1 options is set.

Replication bug : create a Zend_Form with config ini :

..other element.. = "text" = "element" = "email" = "Email" = true = "EmailAddress" = true = "StringToLower" ..other element..

It not set correctly Zend_Validator_EmailAddress , the option validateMx is skipped.

if add = 1 or = "abcd"

validator take all options.


Posted by Thomas Weidner (thomas) on 2009-11-12T15:06:45.000+0000

Already fixed in past with r18058 since 10.Sept.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.