ZF-7703: Int validator assumes 'en' Locale integers are valid, despite specifying a different locale
Description
If you specify a locale, the isValid() method validates the value with Zend_Locale_Format::isInteger() using the specified locale. However, In addition to the specified locale, it also validates with an 'en'-based Zend_Locale.
Should the validator assume that in all cases an 'en'-localized value is required, even though the user has explicitly defined which locale they wish to validate with?
Comments
Posted by Luke Barton (lbarton) on 2009-08-27T12:06:15.000+0000
Patch amending functionality.
Posted by Thomas Weidner (thomas) on 2009-09-13T10:40:26.000+0000
Added with r18097