[TASK] Separate Error handling from TSFE
The goal is to decouple error handling from TSFE. For that, a new ErrorController is added which can be called and returns a Response object instead of exits the current request. In order to keep full backwards-compatibility, TSFE currently does not return a response, but instead exists with a response object. Next step: - Move the pageUnavailable_force functionality into a middleware - See what can be further abstracted to return a response Resolves: #83883 Releases: master Change-Id: I41f5f1a32a3f7edd48eb5c0464a26762ad4a946f Reviewed-on: https://review.typo3.org/55690 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Mathias Schreiber <mathias.schreiber@typo3.com> Tested-by:
Mathias Schreiber <mathias.schreiber@typo3.com> Reviewed-by:
Susanne Moog <susanne.moog@typo3.org> Tested-by:
Susanne Moog <susanne.moog@typo3.org>
Showing
- typo3/sysext/core/Documentation/Changelog/master/Deprecation-83883-PageNotFoundAndErrorHandlingInFrontend.rst 46 additions, 0 deletions...recation-83883-PageNotFoundAndErrorHandlingInFrontend.rst
- typo3/sysext/frontend/Classes/Controller/ErrorController.php 278 additions, 0 deletionstypo3/sysext/frontend/Classes/Controller/ErrorController.php
- typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 95 additions, 41 deletions...ntend/Classes/Controller/TypoScriptFrontendController.php
- typo3/sysext/frontend/Classes/Http/RequestHandler.php 2 additions, 1 deletiontypo3/sysext/frontend/Classes/Http/RequestHandler.php
- typo3/sysext/frontend/Tests/Unit/Controller/ErrorControllerTest.php 406 additions, 0 deletions...xt/frontend/Tests/Unit/Controller/ErrorControllerTest.php
- typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallMatcher.php 42 additions, 0 deletions.../Configuration/ExtensionScanner/Php/MethodCallMatcher.php
Please register or sign in to comment