[TYPO3-mvc] Extbase: Unknown action or controller = error?
Marc Bastian Heinrichs
typo3 at mbh-web.de
Wed Nov 20 18:18:50 CET 2013
Hey,
Am 19.11.2013 21:26, schrieb Marc Wöhlken:
> When calling an unknown controller extbase falls back to it's default
> controller. Same for controller actions.
>
> This can be quite annoying when developing as it won't help to find
> misspelled actions/controllers.
>
> Is there a way to tell extbase to simply throw an exception or raise an
> error when controller/action is unknown?
have a look at
http://forge.typo3.org/projects/typo3v4-mvc/wiki/Breaking_Changes and
search for the setting
throwPageNotFoundExceptionIfActionCantBeResolved
If it doesn't do the job, think about to separate the
controller/actions into single plugins sharing the same namespace.
Best
Marc Bastian
More information about the TYPO3-project-typo3v4mvc
mailing list