zendframework/zf2 — pull request #3345 by rb-cohen (2013-01-04 14:13:05+00:00)
Title: Update library/Zend/Form/View/Helper/FormRow.php

In FormRow::__invoke(), setRenderErrors is always set to true.

I was trying to disable inline error messages in the form, but still use the FormCollection helper. I tried this:

$formRow = $this->getServiceLocator()->get('viewhelpermanager')->get('formrow');
$formRow->setRenderErrors(false);

$formCollection = $this->getServiceLocator()->get('viewhelpermanager')->get('formcollection');
$formCollection->setElementHelper($formRow);
$formHtml = $formCollection->render($form);

But renderErrors was always set to true again by __invoke();

The suggested fix didn't break any unit tests?