ZF-3494: Zend_Form_DisplayGroup::getView returns null view


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.


Scheduling for next mini release.

Fixed in trunk and 1.5 and 1.6 release branches.