[BUGFIX] Ensure PageRouter only operates with previous result 74/60474/2
authorBenni Mack <benni@typo3.org>
Mon, 15 Apr 2019 04:52:49 +0000 (06:52 +0200)
committerSusanne Moog <look@susi.dev>
Wed, 17 Apr 2019 09:08:48 +0000 (11:08 +0200)
commit0480e3849bcbef7e463dd8115cfab4b6357f14f4
tree5a7d84ed463ff1575f9ea245b626718d878819de
parente2893d80b90c425b70f7e6974301eea3ab42b0af
[BUGFIX] Ensure PageRouter only operates with previous result

If no previous result given, an exception should be thrown,
instead of a PHP error.

Resolves: #88133
Releases: master, 9.5
Change-Id: I708e735e664589b0fc8d125a60b9970128b584af
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60474
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Dmitry Dulepov
Tested-by: Susanne Moog <look@susi.dev>
Reviewed-by: Dmitry Dulepov
Reviewed-by: Susanne Moog <look@susi.dev>
typo3/sysext/core/Classes/Routing/PageRouter.php
typo3/sysext/core/Tests/Unit/Routing/PageRouterTest.php