ZF-3494: Zend_Form_DisplayGroup::getView returns null view

Issue Type: Bug Created: 2008-06-23T04:35:47.000+0000 Last Updated: 2008-07-25T08:13:14.000+0000 Status: Resolved Fix version(s): - 1.5.3 (28/Jul/08)

Reporter: Sagi Bashari (sagi) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Form

Related issues: Attachments:


I have a simple form with a display group.

When trying to render the group separately in the view script, eg. form->myGroup ?>, the group is rendered without a fieldset although such decorator exists.

When rendering with form->myGroup->render($this) ?>, the fieldset is added as expected.

I tracked this down to the getView() method of Zend_Form_DisplayGroup. It seems like this method simply returns $this->_view, unlike other getView() methods that use the viewRenderer helper to return the default view.


Posted by Matthew Weier O'Phinney (matthew) on 2008-06-23T05:55:51.000+0000

Scheduling for next mini release.

Posted by Matthew Weier O'Phinney (matthew) on 2008-07-25T08:13:14.000+0000

Fixed in trunk and 1.5 and 1.6 release branches.

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.