ZF-2305: plugin broker does not set request/response object for late-registered plugins

Issue Type: Bug Created: 2007-12-13T11:52:43.000+0000 Last Updated: 2008-03-21T16:25:37.000+0000 Status: Resolved Fix version(s): - 1.5.0 (17/Mar/08)

Reporter: Matthew Weier O'Phinney (matthew) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Controller

Related issues: Attachments:


Currently, the plugin broker sets the request and response objects for each plugin only when its own setRequest()/setResponse() methods are called -- which only happens at the beginning of the dispatch loop. This means that if you register a plugin after the dispatch loop has begun, it will not have access to the request/response objects. This is an issue, for instance, with the Layout plugin, which reads from and writes to the response object.


Posted by Matthew Weier O'Phinney (matthew) on 2007-12-13T12:01:16.000+0000

Fixed in r7102.

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.