ZF-8770: Zend_Application_Resource_View doesn't use static helper broker
Description
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:
Zend/Application/Resource/View.php
$viewRenderer = new Zend_Controller_Action_Helper_ViewRenderer();
to:
$viewRenderer = Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');
Comments
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).