Resetting 'fix version priority' and 'fix version' to be re-evaluated for next release.

Posted by Gregory Wilson (drakos7) on 2008-04-07T12:16:39.000+0000

Ran into the same issue here. No one on #zftalk knew anything about it either.

Posted by Alexander Lanin (alexl) on 2008-04-07T13:37:40.000+0000

I'm verry sorry, but someone else will have to fix this as I don't have the time right now.
One note: empty() doesn't make sense, since all we need is to check for "" and array(), this are 2 "operations" instead of 7 with empty()

When I choose "Root" category I still get error... Zend_Validate_NotEmpty:

if (empty($value)) {
$this->_error();
return false;
}

php.net/empty:

The following things are considered to be empty:
"" (an empty string)
0 (0 as an integer) !!!
"0" (0 as a string) !!!
NULL
FALSE
array() (an empty array)
var $var; (a variable declared, but without a value in a class)

The modification was in Zend_Form. Zend_Validate still retains the old behavior, as this is correct in terms of how empty() works.
Please open a separate issue if you feel Zend_Validate_NotEmpty should be changed; be prepared to make a very good case for changing it.