ZF-9863: Zend_Form_Decorator_FormErrors fails if form isArray

Issue Type: Sub-task Created: 2010-05-19T13:53:43.000+0000 Last Updated: 2010-05-21T15:05:56.000+0000 Status: Resolved Fix version(s): Reporter: boris (jer) Assignee: Christian Albrecht (alab) Tags: - Zend_Form

Related issues: - ZF-9862



FormErrors decorator expects $form->getMessages() to return array containing element's and subforms' names as keys, but if $form->setIsArray(true), topmost key will contain form's name. Next, decorator will request element with that name (form name) from the form, which is obviously can't be there. Finally nothing is rendered.


Posted by Christian Albrecht (alab) on 2010-05-21T15:05:55.000+0000

Fixed in trunk r22231 and merged into 1.10 release branch

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.