Issues

ZF-7449: Directive $element->setRegisterInArrayValidator(false) doesn't work anymore

Issue Type: Bug Created: 2009-08-03T01:36:00.000+0000 Last Updated: 2009-08-20T04:00:05.000+0000 Status: Resolved Fix version(s): - 1.9.2 (25/Aug/09)

Reporter: tritone (peterpitone) Assignee: Thomas Weidner (thomas) Tags: - Zend_Form

  • Zend_Validate

Related issues: - ZF-7631

Attachments:

Description

The directive $element->setRegisterInArrayValidator(false) of a Zend_Form_Element_Select seem to be broken: when form is submitted and validated i've always this messages, probably returned by the Zend_Validate_NotEmpty validator:

--

"Invalid type given, value should be float, string, or integer"

A temporary solution founded is to remove the NotEmpty validator: $element->removeValidator("NotEmpty");

Comments

Posted by Thomas Weidner (thomas) on 2009-08-20T04:00:05.000+0000

Looks like it's dependent/duplicate of ZF-7631. Solved with r17679.

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts