-- Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote
(on Thursday, 13 December 2007, 12:49 PM -0500):
> -- Łukasz Wojciechowski <[EMAIL PROTECTED]> wrote
> (on Thursday, 13 December 2007, 06:10 PM +0100):
> > One more question :) I try to do Zend_Layout::startMvc(); in
> > controller plugin but on every stage (routeShutdown() etc) I get error
> > 
> > Fatal error: Call to a member function getBody() on a non-object in
> > (...)lib\Zend\Layout\Controller\Plugin\Layout.php on line 127
> > 
> > any ideas?
> 
> Wow! Long time since I delved into the plugin broker code. There's
> definitely an issue.
> 
> Basically, the plugin broker sets the request/response objects in the
> individual plugins when setRequest()/setResponse() are called on the
> plugin broker... which only happens at the beginning of the dispatch
> loop. That means any plugin registered later than that has no access to
> the response or request object.
> 
> I'll get a fix in shortly.

Fixed; see ZF-2305, and r7102 of svn.

-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to