[BUGFIX] pageNotFound_handling never happens 92/18792/3
authorThorben Kapp <thorben@kapp-hamburg.de>
Sat, 2 Mar 2013 11:57:08 +0000 (12:57 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 7 Mar 2013 21:37:25 +0000 (22:37 +0100)
commit51cae9e4a4ab3dddf5f3ca039c3704ba9c30986e
tree8a399c17411d05bd27e876e2598c563624516e69
parente11d54152efc7cc1371679a0bb46bf8eedf2d10f
[BUGFIX] pageNotFound_handling never happens

The function \TYPO3\CMS\Core\Utility\RootlineUtility::getRecordArray
throws a \RuntimeException that should be caught in
\TYPO3\CMS\Frontend\Page\PageRepository::getRootline. If the exception
is not caught, the page-not-found-handling is never triggered.

Fixes: #44454
Releases: 6.0, 6.1
Change-Id: I3988b46ebaa8e479ed3c70017a5dda6bc5eaceac
Reviewed-on: https://review.typo3.org/18792
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/frontend/Classes/Page/PageRepository.php