88558[BUGFIX] Ignore non-viewable pages as slug candidates
Commit message
Review
-
Code review CR +2 Done
- Benni Mack +2
- Garvin Hicking +1
-
Verified V +2 Done
- Benni Mack +2
- Oliver Klee +1
- Garvin Hicking +1
- core-ci +1 CI
Issues 1
Files 4
- typo3/sysext/core/Classes/Routing/PageSlugCandidateProvider.php2+15 −2
- typo3/sysext/frontend/Tests/Functional/Middleware/Fixtures/typoScriptFrontendInitializationCases.csv+4 −0
- typo3/sysext/frontend/Tests/Functional/Middleware/Fixtures/typoScriptFrontendInitializationSysTemplate.csv+3 −0
- typo3/sysext/frontend/Tests/Functional/Middleware/PrepareTypoScriptFrontendRenderingTest.php+26 −2
Review log 2027
Show 12 earlier messages
-
Sascha Egerer uploaded patch set 1 03/10/25, 14:14
-
core-ci voted on patch set 1 V -1 03/10/25, 14:23 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/75420
-
Andreas Kienast updated the commit message in patch set 2
V -103/10/25, 15:07 -
Andreas Kienast commented on patch set 2 03/10/25, 15:08
11.5 does not receive public support anymore, therefore I've removed it from the `Releases` line. -
core-ci voted on patch set 2 V -1 03/10/25, 15:21 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/75425
-
Georg Ringer commented on patch set 2 03/11/25, 20:17
PageSlugCandidateProvider.php:213those should be strings, not integers, IMHO -
Georg Ringer commented on patch set 2 03/11/25, 20:20
PageSlugCandidateProvider.php:213Replysry, bs ^^ -
Sascha Egerer commented on patch set 2 03/11/25, 20:53
I don't have time to look at the tests yet but I find it very strange that they fail. The test searches for “The requested page does not exist!” and the markup says <p class=“typo3-error-page-message”>The page did not exist or was inaccessible. Reason: The requested page does not exist</p>\n The “!” is simply missing. I wonder why this is occurring now with this fix - are there two different 404 handlings and now you run into the other one? I am confused. I'll try to check it soon. -
Georg Ringer uploaded patch set 3
V -103/12/25, 19:23 -
core-ci voted on patch set 3 V +1 03/12/25, 19:29 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/75525
-
Benni Mack commented on patch set 3 CR -1 03/12/25, 20:50
will check -
Georg Ringer rebased onto patch set 4
CR -1V +104/08/25, 12:25 -
Benni Mack commented on patch set 4 04/08/25, 12:28
I just (still) wonder how you manage to get two pages with the same slug?... don't get me wrong but if - we take the issue and have to pages of default doktype with "/foo" - we will have the same problem again. With Core code this is IMHO just not possible, and creating links to such pages is also not possible. When calling URLs to such pages such as /storage-folder/ we already have a 404... On the other side, we want to allow certain doktypes to have empty slugs. Also including a flexibility of "Non-linkable doktypes" - both are other issues on forge, which I am happy to tackle in v14. -
core-ci voted on patch set 4 V +1 04/08/25, 12:36 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/77208
-
Sascha Egerer commented on patch set 4 04/17/25, 10:03
Reply
> I just (still) wonder how you manage to get two pages with the same slug? I think this was done by the "RealURL" to "slug" migration. The tricky thing is that the issue is somehow "hidden" and there is no information that it does exist. For sure we can argue this is an edge case and duplicated slugs can never happen but then there should maybe be some kind of error report for this? -
Benni Mack wrote 04/21/26, 15:00
Removed reviewer Benni Mack. -
Benni Mack updated the commit message in patch set 5
V +104/22/26, 06:27 -
core-ci voted on patch set 5 V -1 04/22/26, 06:58 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/100707
-
Benni Mack uploaded patch set 6
V -111/12/26, 20:46 -
Benni Mack updated the commit message in patch set 7 11/12/26, 20:53
-
Benni Mack commented on patch set 7 CR +1 V +1 11/12/26, 20:53
Reply
I now did an order by - if we need a report, we can add this as a separate patch. -
core-ci voted on patch set 6 V +1 11/12/26, 20:55 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114230
-
Garvin Hicking voted on patch set 7 CR +1 V +1 11/12/26, 21:02
-
core-ci voted on patch set 7 V +1 11/12/26, 21:16 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114233
-
Oliver Klee voted on patch set 7 V +1 11/12/26, 22:33
-
Benni Mack voted on patch set 7 CR +2 V +2 11/13/26, 10:35
-
Benni Mack merged patch set 8 11/13/26, 10:35