Review main Merged

97676[BUGFIX] Resolve site of record redirect targets without site

Oli Bartsch CR +2 V +2 Normal +244 −5 updated 11/19/26, 10:17

Commit message

A redirect whose source host has no site configuration, typically an
old domain pointing to a new site, derived a site from its target for
page links only. A record link such as
t3://record?identifier=news&uid=5 got no site, so no URL was built
and the redirect silently did nothing.

The site of a record link target is now the site whose root page
TSconfig maps the link identifier to a table and which contains the
record. This mirrors DatabaseRecordLinkBuilder, which reads the
linkHandler configuration of the site root page when the URL is
generated afterwards.

A record outside of any site, like in a shared storage folder, is
linked by the only site mapping the identifier to its table. If several
sites do, the target is ambiguous and the redirect is not applied.

Review

  • Code review CR +2 Done
    • Oli Bartsch +2
    • Josua Vogel +1
    • Simon Schaufelberger +1
    • Benni Mack +1
  • Verified V +2 Done
    • Oli Bartsch +2
    • Josua Vogel +1
    • Simon Schaufelberger +1
    • Benni Mack +1
    • core-ci +1 CI

Issues 1

Files 6

Review log 811

  1. Oli Bartsch uploaded patch set 1 11/15/26, 10:40

  2. core-ci voted on patch set 1 V +1 11/15/26, 10:57 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114527

  3. Oli Bartsch rebased onto patch set 2 V +1 11/15/26, 11:01

  4. Oli Bartsch uploaded patch set 3 11/15/26, 11:12

  5. core-ci voted on patch set 2 V +1 11/15/26, 11:25 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114531

  6. core-ci voted on patch set 3 V +1 11/15/26, 11:28 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114537

  7. Josua Vogel voted on patch set 3 CR +1 V +1 11/15/26, 18:25

  8. Simon Schaufelberger voted on patch set 3 CR +1 V +1 11/18/26, 12:24

  9. Benni Mack voted on patch set 3 CR +1 V +1 11/19/26, 10:01

  10. Oli Bartsch voted on patch set 3 CR +2 V +2 11/19/26, 10:17

  11. Oli Bartsch merged patch set 4 11/19/26, 10:17