Zend Framework

Zend_Application_Resource_View doesn't use static helper broker

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Not an Issue
  • Affects Version/s: 1.9.6
  • Fix Version/s: 1.10.1
  • Labels:
    None

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');

Activity

Hide
Andrew Stoltz added a comment -

Never mind.

Show
Andrew Stoltz added a comment - Never mind.
Hide
Dolf Schimmel (Freeaqingme) added a comment -

Ooh, those are the easy issues.

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

Show
Dolf Schimmel (Freeaqingme) added a comment - Ooh, those are the easy issues. Now this one does look worth investigating (to me), so why did you resolve it with 'never mind'?
Hide
Dolf Schimmel (Freeaqingme) added a comment -

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).

Show
Dolf Schimmel (Freeaqingme) added a comment - 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).

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: