[FEATURE] Native MountPoint support for Site Handling
In order to link to mountpoints with Site Handling, the RootlineUtility needs to receive the MountPoint parameter, to correctly deal with mountpoint-related subpages. Mount Points are based on the assumption that the "context" (the original site environment) is kept. For this to work, the slug of the mount page (doktype=7) is prefixed to the URL, but the common prefix of the subpages is trimmed with the value of the mounted page (= pointer record). The MP parameter is then added to PageArguments within the PageArguments as "routeArgument" (= safe and clean argument) where TYPO3 is dealing with this feature again in the same fashion it as before. Various side-effects when dealing with mount points from other domains still exist (= different language setup, or non-existing sites). Feature Set: * Multi-language setup (= when language setup is the same) with slugs * Recursive mount points * No MP parameter available in URLs anymore (at all) * Multi-site setup (= when language setup is the same) If a subpage of a mount page does not inherit the slug of the mounted page, then the slug of the subpage is added in full afterwards. Resolves: #86331 Resolves: #87473 Resolves: #89039 Releases: master, 9.5 Change-Id: I58f41eb325a07cc0c4a0dfeab1164eb8c58c7314 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62878 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Susanne Moog <look@susi.dev> Tested-by:
Daniel Siepmann <coding@daniel-siepmann.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/core/Classes/Routing/PageRouter.php 72 additions, 2 deletionstypo3/sysext/core/Classes/Routing/PageRouter.php
- typo3/sysext/core/Classes/Routing/PageSlugCandidateProvider.php 126 additions, 2 deletions...sysext/core/Classes/Routing/PageSlugCandidateProvider.php
- typo3/sysext/core/Classes/Site/SiteFinder.php 3 additions, 2 deletionstypo3/sysext/core/Classes/Site/SiteFinder.php
- typo3/sysext/core/Documentation/Changelog/9.5.x/Feature-86331-NativeURLSupportForMountPoints.rst 53 additions, 0 deletions...og/9.5.x/Feature-86331-NativeURLSupportForMountPoints.rst
- typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php 1 addition, 1 deletiontypo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php
- typo3/sysext/frontend/Tests/Functional/SiteHandling/SlugLinkGeneratorTest.php 6 additions, 6 deletions...d/Tests/Functional/SiteHandling/SlugLinkGeneratorTest.php
Please register or sign in to comment