Note: issues are now on GitHub; see the Overview for more
inside isValid() method
Posted by Thomas Weidner (thomas) on 2010-02-19T11:10:36.000+0000
Please give something which is reproducable.
Just a "xxx needs" or "xxx should be" is not enough.
Posted by Thomas Weidner (thomas) on 2010-02-19T11:11:08.000+0000
Changing from Patch to Bug as no patch has been assigned to this issue.
Posted by Wojciech Sielski (jennahan) on 2010-02-19T11:39:49.000+0000
If you attach this Validator to Zend_Form like:
'validators' => array (new Zend_Validator_Postcode('pl_PL')),
And write in form for example string "hello" it shows error like:
"'' is wrong formated postcode"
Message in Zend_Validator_Postcode is set to
"'%value%' is wrong formated postcode"
And as you can see in this weak example that %value% is not set in isValid() method.
Sorry for this not formal code but I`m out of office now.
Posted by Thomas Weidner (thomas) on 2010-02-19T13:54:18.000+0000
Fixed with r21107