Issue

ZF2-422: RouteNotFoundStrategy not configurable

Issue Type: Improvement Created: 2012-07-26T10:10:20.000+0000 Last Updated: 2012-10-08T20:15:05.000+0000 Status: Closed Fix version(s): Reporter: Stefan Kleff (dershao) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend\Mvc

Related issues: Attachments:

Description

Currently (RC1) there is no way to set the parameters of Zend\Mvc\View\Http\RouteNotFoundStrategy. The strategy is created without using config parameters (unlike the ExceptionStrategy) in the ViewManager.

Enabling exceptions is very helpful for debugging puposes.

Comments

Posted by Matthew Weier O'Phinney (matthew) on 2012-07-26T15:56:07.000+0000

Actually, you can set the display_not_found_reason and not_found_template under the 'view-manager' configuration. What we cannot do currently is set the 'display_exceptions' configuration. I'll add that for RC2.

Posted by Ralph Schindler (ralph) on 2012-10-08T20:15:05.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: https://github.com/zendframework/zf2/issues/2508

Have you found an issue?

See the Overview section for more details.

Copyright

© 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.

Contacts