ZF-6650: The dispatcher doesn't throw exception of type Zend_Controller_Plugin_ErrorHandler::EXCEPTION_NO_CONTROLLER when : is used in the request URI

Issue Type: Bug Created: 2009-05-14T04:38:43.000+0000 Last Updated: 2011-07-14T08:04:28.000+0000 Status: Resolved Fix version(s): - 1.12.0 (27/Aug/12)

Reporter: Sudheer Satyanarayana (bonaparte) Assignee: Marco Kaiser (bate) Tags: - Zend_Controller

Related issues: Attachments:


I have set up the the error controller with error_handler to act as 404 handler as per the instructions in the online reference manual. The 404 handler works but for one situation. If there is a ':' in the URI I don't get the exxception of type Zend_Controller_Plugin_ErrorHandler::EXCEPTION_NO_CONTROLLER or Zend_Controller_Plugin_ErrorHandler::EXCEPTION_NO_ACTION. Instead I get a Zend_View_Exception.

For example, I have the index controller and the index action in the default module. The page loads properly, when index/index/index is requested. However, when index: is requested, the Zend_View_Exception is thrown. The message in the exception is

'script 'index:/index.phtml' not found in path (../application/views/scripts/)'

Shouldn't I be getting an exception of type Zend_Controller_Plugin_ErrorHandler::EXCEPTION_NO_CONTROLLER?

ZF 1.8.0. There are no custom routes defined.


Posted by Marco Kaiser (bate) on 2011-07-14T08:04:28.000+0000

see ZF-11561

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.