ZF-10688: '*' array validator

Description

Following the official doc of Zend_Filter_Input http://framework.zend.com/manual/fr/…

I pass a new data to the validator without attached rules using empty array()

getMessages() give me an error '*' is empty and isValid method return null or false

I precise that i have add '*' = array(); (cf the doc) at the endest of $validator config

$input->getMessages return the merged arrays, and i have always the same error

Can you do something ?

Comments

Can you please provide some code to demonstrate the issue? Perhaps just 3-5 lines worth.

Thanks, Ralph

    $validators = array(
        '*' => array(),
        'passF' => array(
            'NotEmpty',
             array('StringLength',(array('min' => 4,'encoding'=> 'UTF-8'))),
             'Alnum',
                    'messages' => array(
                        "Veuilez saisir votre mot de passe",
                        "Votre mot de passe doit avoir au minimum 4 caractères",
                        "Votre mot de passe ne peut contenir que des caractères alphanumériques"
                    )
            ),

if i let no empty, i get with $input->getErrorMessages() [*] password is empty, so i write

'*' => array('All','allowEmpty' => true),) the error is fixed..

Extras_Validate_All validator contain nothing.. i must use the * in array, because if i let a validator like

        'emailF'  => array(
            'NotEmpty',
            array('EmailAddress',array('allow'=>Zend_Validate_Hostname::ALLOW_DNS,'mx'=>false)),

if i let 'mx' on true and i remove the '' => array('All') (< or array()) i give some errors in [] that duplicate lots of error in email in all section like another validate field loginF

hello, do you have some news ?