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


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


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