ZF2-223: 404s ActionController::notFound should not modify the route match

Issue Type: Bug Created: 2012-03-15T01:44:01.000+0000 Last Updated: 2012-10-08T20:15:24.000+0000 Status: Closed Fix version(s): Reporter: Oscar Merida (omerida) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend\Mvc

Related issues: Attachments:


Raising a 404 in a controller by calling notFound causes the view layer to look for the wrong template.

It shouldn't modify the routematch. Per weirophinney:

"We need to alter this to not modify the route match; it's a bad practice stemming from the hack we used for view rendering prior to introducing the new view layer. "


Posted by Ralph Schindler (ralph) on 2012-10-08T20:15:24.000+0000

This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit:

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.