ZF-3146: wrong behaviour conected with setElementsBelongTo

Issue Type: Bug Created: 2008-04-18T10:26:03.000+0000 Last Updated: 2008-05-07T14:41:11.000+0000 Status: Resolved Fix version(s): - 1.5.2 (15/May/08)

Reporter: Radek (salac.r) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Form

Related issues: - ZF-2883



Hi, I have this piece of code 'UTF-8')); $form = new Zend\_Form(); $element=$form->createElement('text','foo'); $form->addElement($element); $form->setElementsBelongTo('array'); echo $form->foo->render($view); echo $form->render($view); echo $form->foo->render($view); ?>

and the output is something like this

Please notice that the first rendered element isn't in array and after rendering whole form it is.


Posted by Wil Sinclair (wil) on 2008-04-18T13:16:14.000+0000

Please evaluate and categorize as necessary.

Posted by Matthew Weier O'Phinney (matthew) on 2008-04-22T12:12:15.000+0000

Scheduling for next mini release.

Posted by Matthew Weier O'Phinney (matthew) on 2008-05-07T14:41:09.000+0000

Fixed in trunk and 1.5 release branch as of r9402.

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.