ZF-6650: The dispatcher doesn't throw exception of type Zend_Controller_Plugin_ErrorHandler::EXCEPTION_NO_CONTROLLER when : is used in the request URI
Description
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.
Comments
Posted by Marco Kaiser (bate) on 2011-07-14T08:04:28.000+0000
see ZF-11561