Zend Framework

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

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9.0
  • Fix Version/s: 1.9.2
  • Component/s: Zend_Form, Zend_Validate
  • Labels:
    None

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");

Issue Links

Activity

Hide
Thomas Weidner added a comment -

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

Show
Thomas Weidner added a comment - Looks like it's dependent/duplicate of ZF-7631. Solved with r17679.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: