I created an issue in the issue tracker on June 26th, and there have
been multiple emails on the mailing list about this BC break.

http://framework.zend.com/issues/browse/ZF-7135

Unfortunately, it appears that nobody thinks it's significant enough to fix.

On Mon, Jul 20, 2009 at 10:45 AM, Jonas Fischer<[email protected]> wrote:
> Hi,
>
> $validators = array(
>  'requiredFieldName' => array('presence' => 'required', 'allowEmpty' => true)
> )
>
> Before Zend Framework Version 1.8.2 this validator definition worked
> fine for me but in later versions it does not work with null values.
>
> Prior to r15646 the presence of a value was checked using
> array_key_exists() but now it is checked using isset().
>
> This results in null values being recognized as not present. Is this
> intended? And if so, how can I check that a field is specified (but
> can be null, false, 0 etc.)?
>
> Has anybody a solution to this problem?
>
> Thanks in advance.
>
>
> Best regards,
>
> Jonas
>



-- 
Jordan Ryan Moore

Reply via email to