Review 14.3 Merged

96728[BUGFIX] Resolve redirects to record targets

Georg Ringer CR +2 V +2 Normal +63 −1 updated 10/15/26, 16:10

Commit message

RedirectService::bootFrontendController() attaches page information
and TypoScript to the request, but returns only the
ContentObjectRenderer it created. getUriFromCustomLinkDetails() then
handed the untouched original request to the link builder, so
DatabaseRecordLinkBuilder found no "frontend.page.information" and
died with "Call to a member function getId() on null".

The enriched request is now taken from the ContentObjectRenderer,
which is where bootFrontendController() left it. Page links were
unaffected because PageLinkBuilder does not need those attributes.

v13 kept the state in the global TypoScriptFrontendController, so
this surfaced when that was removed.

Review

  • Code review CR +2 Done
    • Georg Ringer +2
  • Verified V +2 Done
    • Georg Ringer +2
    • core-ci +1 CI

Issues 2

Files 4

Review log 45

  1. Georg Ringer uploaded patch set 1 10/15/26, 15:48

  2. Georg Ringer commented on patch set 1 10/15/26, 15:48

    This change is ready for review.
  3. core-ci voted on patch set 1 V +1 10/15/26, 16:00 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111218

  4. Georg Ringer voted on patch set 1 CR +2 V +2 10/15/26, 16:10

  5. Georg Ringer merged patch set 2 10/15/26, 16:10