Review 14.3 Merged

97606[BUGFIX] Ignore non-viewable pages as slug candidates

Benni Mack CR +2 V +2 Normal +48 −4 updated 11/13/26, 11:43

Commit message

Pages of a non-viewable page type, such as spacers and folders,
cannot be rendered in the frontend, but their slugs were still
considered when resolving an URL. If such a page shares its slug
with a regular page, the URL could resolve to the folder and
result in a "page not found" error.

The page types marked as "isViewable" => false in TCA are now
excluded from the slug candidates. In addition, candidates are
sorted by uid as the last criterion, so pages sharing a slug
resolve to the same page on all database platforms.

Requesting the slug of a spacer or folder still results in a
404 response, now raised during routing.

Review

  • Code review CR +2 Done
    • Benni Mack +2
  • Verified V +2 Done
    • Benni Mack +2
    • core-ci +1 CI

Issues 1

Files 4

Review log 34

  1. Benni Mack commented on patch set 1 11/13/26, 10:35

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 11/13/26, 10:40 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114305

  3. Benni Mack voted on patch set 1 CR +2 V +2 11/13/26, 11:43

  4. Benni Mack merged patch set 2 11/13/26, 11:43