97935[BUGFIX] Show hosts of sites below a web mount
Commit message
Test this change
Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch
- Check out patch set 4
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/35/97935/4 && git checkout FETCH_HEAD - Cherry-pick onto main
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/35/97935/4 && git cherry-pick FETCH_HEAD
Review
-
Code review CR +1 Needs a vote
- Benjamin Kott +1
-
Verified V +1 Needs a vote
- Benjamin Kott +1
- core-ci +1 CI
Merge conflicts 2
Issues 2
Files 12
- typo3/sysext/core/Classes/Domain/Repository/PageAncestryRepository.php+94 −30
- typo3/sysext/core/Classes/Domain/PageAncestryResolver.php+51 −4
- typo3/sysext/core/Classes/Site/WebMountSiteFinder.phpnew+119 −0
- typo3/sysext/core/Tests/Functional/Domain/PageAncestryResolverTest.php+38 −0
- typo3/sysext/core/Tests/Functional/Site/Fixtures/WebMountSiteFinderTestImport.csvnew+18 −0
- typo3/sysext/core/Tests/Functional/Site/Fixtures/WebMountSiteFinderTestWorkspaceImport.csvnew+4 −0
- typo3/sysext/core/Tests/Functional/Site/WebMountSiteFinderTest.phpnew+170 −0
- typo3/sysext/redirects/Classes/Data/SourceHostProvider.php+5 −16
- typo3/sysext/redirects/Tests/Functional/FormDataProvider/Fixtures/SitesBelowWebMount.csvnew+9 −0
- typo3/sysext/redirects/Tests/Functional/FormDataProvider/ValuePickerItemDataProviderTest.php+31 −0
- typo3/sysext/redirects/Tests/Functional/Hooks/Fixtures/SitesBelowWebMount.csvnew+13 −0
- typo3/sysext/redirects/Tests/Functional/Hooks/DataHandlerPermissionGuardHookTest.php+45 −0
Review log 711
-
Matthias Vogel uploaded patch set 1 11/24/26, 12:53
-
core-ci voted on patch set 1 V +1 11/24/26, 13:10 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115243
-
Benjamin Kott uploaded patch set 2
V +111/24/26, 20:59 -
Benjamin Kott commented on patch set 2 11/24/26, 21:00
PS2: - WebMountSiteFinder resolves the ancestries of all site root pages with one query (new PageAncestryResolver::resolveMultiple() and PageAncestryRepository::findAncestries()). It gives the page rows to isInWebMount(). Before, each site caused two queries. The new test numberOfQueriesDoesNotDependOnNumberOfSites shows this. - isSiteReachable() is now isSiteAccessible(), as in getAccessibleHosts(). The comments and the commit message use "has access to" and "web mount". - New test: the permission guard rejects a redirect for a site outside the web mount. - The 14.3 backport needs its own version, because 14.3 has no PageAncestryResolver. -
core-ci voted on patch set 2 V +1 11/24/26, 21:05 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115327
-
Benjamin Kott updated the commit message in patch set 3
V +111/24/26, 21:08 -
core-ci voted on patch set 3 V +1 11/24/26, 21:16 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115328
-
Matthias Vogel commented on patch set 3 11/25/26, 07:12
Reply
Acknowledged -
Benjamin Kott uploaded patch set 4
V +111/27/26, 00:53 -
core-ci voted on patch set 4 V +1 11/27/26, 01:02 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115641
-
Benjamin Kott voted on patch set 4 CR +1 V +1 11/27/26, 01:23