[BUGFIX] Avoid exception on non-existing error handler 77/57877/6
authorBenni Mack <benni@typo3.org>
Sat, 11 Aug 2018 18:41:37 +0000 (20:41 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 12 Aug 2018 12:21:56 +0000 (14:21 +0200)
commitae35fa163278a87eeb8385b972300aa549782391
tree326f44235080af86a39948b449a891471d952018
parentd0b08afc32ca12b1238df0c3c1ffeb4dbc9f1dcf
[BUGFIX] Avoid exception on non-existing error handler

When a site is configured, but has no error handler
for a specific error case (e.g. a site has no
configured 404 page), then the regular error handler
should kick in.

This also allows to enable some previously wrong
tests (expected!).

Resolves: #85819
Releases: master
Change-Id: Iefc0e23460de0389b66083da4e6d7aca12b82c59
Reviewed-on: https://review.typo3.org/57877
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Error/PageErrorHandler/PageErrorHandlerNotConfiguredException.php [new file with mode: 0644]
typo3/sysext/core/Classes/Site/Entity/Site.php
typo3/sysext/core/Classes/Site/Entity/SiteInterface.php
typo3/sysext/core/Tests/Unit/Site/Entity/SiteTest.php
typo3/sysext/frontend/Classes/Controller/ErrorController.php
typo3/sysext/frontend/Tests/Functional/SiteHandling/SiteRequestTest.php