[!!!][TASK] Remove legacy "pageNotFound_handling" options
With the introduction of site handling, the old "pageNotFound_handling" mechanisms can be removed. If a site configuration hasn't configured a error handler, a 404/403/500 response with the default error renderer is now returned. Making PageNotFoundExceptions rendering the frontend very seldom. The following options are removed: - $TYPO3_CONF_VARS[FE][pageNotFound_handling] - $TYPO3_CONF_VARS[FE][pageNotFound_handling_statheader] - $TYPO3_CONF_VARS[FE][pageNotFound_handling_accessdeniedheader] - $TYPO3_CONF_VARS[FE][pageUnavailable_handling] - $TYPO3_CONF_VARS[FE][pageUnavailable_handling_statheader] Tests have been adopted to check against status code / message rather than on the exceptions (not) thrown (anymore). In addition, a JsonResponse is now returned if JSON was requested, instead of the regular HTML content. Resolves: #88376 Releases: master Change-Id: I6be57fadaa0ddf83039fbdcc9186ef93d5a51158 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60453 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/core/Configuration/DefaultConfiguration.php 0 additions, 5 deletionstypo3/sysext/core/Configuration/DefaultConfiguration.php
- typo3/sysext/core/Configuration/DefaultConfigurationDescription.yaml 1 addition, 16 deletions...t/core/Configuration/DefaultConfigurationDescription.yaml
- typo3/sysext/core/Documentation/Changelog/master/Breaking-87193-DeprecatedFunctionalityRemoved.rst 5 additions, 0 deletions.../master/Breaking-87193-DeprecatedFunctionalityRemoved.rst
- typo3/sysext/core/Documentation/Changelog/master/Breaking-88376-RemovedObsoletePageNotFound_handlingSettings.rst 49 additions, 0 deletions...ng-88376-RemovedObsoletePageNotFound_handlingSettings.rst
- typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/Modify/ActionTest.php 4 additions, 2 deletions...ts/Functional/DataHandling/IRRE/CSV/Modify/ActionTest.php
- typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/ActionTest.php 4 additions, 2 deletions...onal/DataHandling/IRRE/ForeignField/Modify/ActionTest.php
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/ActionTest.php 4 additions, 2 deletions...sts/Functional/DataHandling/Regular/Modify/ActionTest.php
- typo3/sysext/extbase/Tests/Functional/Persistence/TranslatedSiteContentTest.php 0 additions, 6 deletions...ests/Functional/Persistence/TranslatedSiteContentTest.php
- typo3/sysext/frontend/Classes/Controller/ErrorController.php 32 additions, 195 deletionstypo3/sysext/frontend/Classes/Controller/ErrorController.php
- typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 0 additions, 4 deletions...ntend/Classes/Controller/TypoScriptFrontendController.php
- typo3/sysext/frontend/Tests/Functional/Rendering/LocalizedSiteContentRenderingTest.php 1 addition, 5 deletions...unctional/Rendering/LocalizedSiteContentRenderingTest.php
- typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/AbstractLocalizedPagesTestCase.php 4 additions, 4 deletions...LocalizedPageRendering/AbstractLocalizedPagesTestCase.php
- typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioATest.php 1 addition, 1 deletion...nal/SiteHandling/LocalizedPageRendering/ScenarioATest.php
- typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioBTest.php 4 additions, 8 deletions...nal/SiteHandling/LocalizedPageRendering/ScenarioBTest.php
- typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioCTest.php 4 additions, 9 deletions...nal/SiteHandling/LocalizedPageRendering/ScenarioCTest.php
- typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioDTest.php 4 additions, 10 deletions...nal/SiteHandling/LocalizedPageRendering/ScenarioDTest.php
- typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioETest.php 7 additions, 15 deletions...nal/SiteHandling/LocalizedPageRendering/ScenarioETest.php
- typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioFTest.php 7 additions, 16 deletions...nal/SiteHandling/LocalizedPageRendering/ScenarioFTest.php
- typo3/sysext/frontend/Tests/Functional/SiteHandling/SiteRequestTest.php 0 additions, 55 deletions...rontend/Tests/Functional/SiteHandling/SiteRequestTest.php
- typo3/sysext/frontend/Tests/Functional/SiteHandling/SlugSiteRequestTest.php 5 additions, 56 deletions...end/Tests/Functional/SiteHandling/SlugSiteRequestTest.php
Please register or sign in to comment