ZF-9537: Resource Layout must bootstrap view

Issue Type: Bug Created: 2010-03-25T06:59:48.000+0000 Last Updated: 2010-12-23T03:04:29.000+0000 Status: Resolved Fix version(s): - 1.10.7 (28/Jul/10)

Reporter: Lukas Drbal (lestr) Assignee: Dolf Schimmel (Freeaqingme) (freak) Tags: - Zend_Application

  • Zend_Application_Resource

Related issues: Attachments:




Posted by Dolf Schimmel (Freeaqingme) (freak) on 2010-07-16T14:33:48.000+0000

I don't see how this is an issue. the layout isn't dependent on the view. Also, the Navigation resource plugin that is shipped with Zend Framework bootstraps Zend_View, but only when it is dependent on it.

Posted by Martin Wheatley (spodnet) on 2010-12-23T03:04:29.000+0000

This is an issue if you use a custom view helper in the layout file and zend navigation.

The above fix of inserting $this->bootstrap('view') before the layout bootstrap fixes this issue, but not without a lot of searching trying to work out why the helper wasn't available when it's defined correctly in application.ini.

Have you found an issue?

See the Overview section for more details.


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

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