ZF-8770: Zend_Application_Resource_View doesn't use static helper broker

Issue Type: Bug Created: 2010-01-10T13:40:53.000+0000 Last Updated: 2010-01-30T17:38:42.000+0000 Status: Resolved Fix version(s): - 1.10.1 (10/Feb/10)

Reporter: Andrew Stoltz (andyl56) Assignee: Dolf Schimmel (Freeaqingme) (freak) Tags: - Zend_Application_Resource

Related issues: Attachments:


Zend_Application_Resource_View directly instantiates Zend_Controller_Action_Helper_ViewRenderer rather than using the helper broker so the options passed in through Zend_Application aren't actually kept. To fix this, it should be as simple as changing:


<pre class="highlight">
        $viewRenderer = new Zend_Controller_Action_Helper_ViewRenderer();


<pre class="highlight">
        $viewRenderer = Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');


Posted by Andrew Stoltz (andyl56) on 2010-01-10T13:41:53.000+0000

Never mind.

Posted by Dolf Schimmel (Freeaqingme) (freak) on 2010-01-10T13:44:21.000+0000

Ooh, those are the easy issues. :D

Now this one does look worth investigating (to me), so why did you resolve it with 'never mind'?

Posted by Dolf Schimmel (Freeaqingme) (freak) on 2010-01-10T13:45:33.000+0000

Had to reopen issue in order to change component and assignee. Leaving open just for a while (until I found out if the issue is legit, or why it was a Nvm).

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.