ZF-3494: Zend_Form_DisplayGroup::getView returns null view
Description
I have a simple form with a display group.
When trying to render the group separately in the view script, eg. <?php echo $this->form->myGroup ?>, the group is rendered without a fieldset although such decorator exists.
When rendering with <?php echo $this->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.
Comments
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.