[BUGFIX] Use Live Page ID in workspace routing
When in a workspace, the slug of a workspace'd page record is properly resolved (good!), but the versioned ID of the page is used within the PageArguments. This is in turn lets TSFE think that the "Page ID" is the versioned ID, which is wrong (similarly to the localized page ID / translated page ID), which always need to be the live Page ID in order to properly handle records on the page ("pid=live/default ID of the page") Resolves: #93650 Releases: master, 10.4 Change-Id: I52e3880e2edb1f774a5dfb24a7bddaf81a3dcb19 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68182 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/core/Classes/Routing/Enhancer/PluginEnhancer.php 2 additions, 1 deletion...3/sysext/core/Classes/Routing/Enhancer/PluginEnhancer.php
- typo3/sysext/core/Classes/Routing/Enhancer/SimpleEnhancer.php 2 additions, 1 deletion...3/sysext/core/Classes/Routing/Enhancer/SimpleEnhancer.php
- typo3/sysext/core/Classes/Routing/PageRouter.php 2 additions, 1 deletiontypo3/sysext/core/Classes/Routing/PageRouter.php
Please register or sign in to comment