ZF-12351: Incompatibility

Description

The method Zend_Form->setErrors(array) and Zend_Form->getErrors() are not compatibles, for example, if I use the setErrors() method and as a parameter I send the return value of the method getErrors of the same form, the errors will not be setted properly

Comments

This is true, because {{Zend_Form::getErrors()}} provides error codes for all elements failing validation.

{{Zend_Form::setErrors()}} uses {{Zend_Form::addErrors()}} uses {{Zend_Form::addError()}} uses {{Zend_Form::addErrorMessage()}} and {{addErrorMessage()}} adds a custom error message to return in the event of failed validation.

I think, if we change this then we have a BC break.