2008年8月6日星期三

[fw-mvc] Glitch in revision 10729. ViewRenderer is registered twice.

After updating to revision 10729 (latest) I found the following in my logs. I
haven't changed any of my code since yesterday when it worked fine, so it
seems there's a glitch in ZF:

<logEntry><timestamp>Wed, 6 Aug 2008 20:49:18</timestamp><message>exception
'Zend_Controller_Action_Exception' with message 'A helper by name
ViewRenderer is already registered in this stack.' in C:\Documents and
Settings\Mijn documenten\Projecten\Workspace\Zend Framework
(Core)\library\Zend\Controller\Action\HelperBroker\PriorityStack.php:154
Stack trace:
#0 C:\Documents and Settings\Mijn documenten\Projecten\Workspace\Zend
Framework
(Core)\library\Zend\Controller\Action\HelperBroker\PriorityStack.php(82):
Zend_Controller_Action_HelperBroker_PriorityStack-&gt;offsetSet(3,
Object(Zend_Controller_Action_Helper_ViewRenderer))
#1 C:\Documents and Settings\Mijn documenten\Projecten\Workspace\Zend
Framework (Core)\library\Zend\Controller\Action\HelperBroker.php(84):
Zend_Controller_Action_HelperBroker_PriorityStack-&gt;push(Object(Zend_Controller_Action_Helper_ViewRenderer))
#2 C:\Documents and Settings\Mijn documenten\Projecten\Workspace\Zend
Framework (Core)\library\Zend\View\Helper\Action.php(123):
Zend_Controller_Action_HelperBroker::addHelper(Object(Zend_Controller_Action_Helper_ViewRenderer))
#3 C:\Documents and Settings\Mijn documenten\Projecten\Workspace\Zend
Framework (Core)\library\Zend\View\Abstract.php(318):
Zend_View_Helper_Action-&gt;action('process', 'menu')
#4 [internal function]: Zend_View_Abstract-&gt;__call(Array, Array)
#5 C:\Documents and Settings\Mijn documenten\Projecten\Workspace\Didjital
CMS\views\layouts\standard.php(1): Zend_View-&gt;action('action', Array)
#6 C:\Documents and Settings\Mijn documenten\Projecten\Workspace\Zend
Framework (Core)\library\Zend\View.php(107): include('C:\Documents an...')
#7 C:\Documents and Settings\Mijn documenten\Projecten\Workspace\Zend
Framework (Core)\library\Zend\View\Abstract.php(787):
Zend_View-&gt;_run('process', 'menu')
#8 C:\Documents and Settings\Mijn documenten\Projecten\Workspace\Zend
Framework (Core)\library\Zend\Layout.php(781):
Zend_View_Abstract-&gt;render('C:\Documents an...')
#9 C:\Documents and Settings\Mijn documenten\Projecten\Workspace\Zend
Framework (Core)\library\Zend\Layout\Controller\Plugin\Layout.php(142):
Zend_Layout-&gt;render('standard.php')
#10 C:\Documents and Settings\Mijn documenten\Projecten\Workspace\Zend
Framework (Core)\library\Zend\Controller\Plugin\Broker.php(337):
Zend_Layout_Controller_Plugin_Layout-&gt;postDispatch()
#11 C:\Documents and Settings\Mijn documenten\Projecten\Workspace\Zend
Framework (Core)\library\Zend\Controller\Front.php(957):
Zend_Controller_Plugin_Broker-&gt;postDispatch(Object(Zend_Controller_Request_Http))
#12 C:\Documents and Settings\Mijn documenten\Projecten\Workspace\Da
CMS\Bootstrap.php(321):
Zend_Controller_Front-&gt;dispatch(Object(Zend_Controller_Request_Http))
#13 C:\Documents and Settings\Mijn documenten\Projecten\Workspace\Da
CMS\public\index.php(23): Da_Bootstrap::run()
#14
{main}</message><priority>7</priority><priorityName>DEBUG</priorityName></logEntry>

Regards, TJ.
--
View this message in context: http://www.nabble.com/Glitch-in-revision-10729.-ViewRenderer-is-registered-twice.-tp18857440p18857440.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: