ZF-8041: Layout controller plugin renders layout even if response was redirect
Description
Zend layout controller plugin does not return early on a redirect response code in postDispatch(), thus if the redirector is not configured to exit immediately after redirect (as in test environment), the layout template is still rendered, which may lead to exceptions while rendering (since the view may not be properly set up).
Comments
Posted by Olek (olek) on 2009-10-09T15:56:44.000+0000
A patch containing a failing test and a solution to make the test pass
Posted by Marco Kaiser (bate) on 2009-11-20T06:46:15.000+0000
fixed/added patch with r19090