[BUGFIX] pageNotFound_handling never happens 58/18558/4
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:33:48 +0000 (22:33 +0100)
commitdd4df1999f280665719b0904fdd47498d6468028
tree634d57528adfd557f913840614664c657ead1415
parent3f17d64ae0f70f4b23da45157c2b262eb91cabea
[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/18558
Reviewed-by: Thorben Kapp
Reviewed-by: Tilo Baller
Tested-by: Tilo Baller
Tested-by: Thorben Kapp
Tested-by: Vincent Mans
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Christian Futterlieb
Reviewed-by: Tomasz Krawczyk
Tested-by: Tomasz Krawczyk
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/frontend/Classes/Page/PageRepository.php