Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

Review main Ready for review

97675[BUGFIX] Resolve record links in the link preview of the RTE

Oli Bartsch CR 0 V -1 Hard +265 −32 updated 11/15/26, 11:26

Commit message

The link_preview AJAX route returned no title for record links
(t3://record?identifier=...&uid=...). Inserting such a link without
selected text therefore used the raw t3:// href as link text, and the
link balloon showed the raw href as well.

Record links are now resolved to the record title, the path of the
record's page and the record icon. The table of an identifier is taken
from TCEMAIN.linkHandler of the page TSconfig. The RTE sends the page
id of the edited record along, as link handlers are usually configured
per page tree and not on the root level.

The backend user needs read access to the table and to the page of the
record, or to the linked page itself for records of the table "pages".
Records on the root level are resolved for editors if the table allows
them there (security.ignoreRootLevelRestriction).

Record links get no frontend URL in the preview, so "Open link" and
Ctrl+Click stay without effect for them.

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/75/97675/4 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/75/97675/4 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V -1 Blocked
    • core-ci -1 CI

Relation chain 5

  1. main 97676[BUGFIX] Resolve site of record redirect targets without site Based on this change Merged Oli Bartsch CR +2 V +2 → 14.3 Normal +244 −5

    The chain has patch set 2 of 4, the changes above it need a rebase.

  2. main 97436[!!!][FEATURE] Link content elements as records Based on this change Merge conflict Oli Bartsch CR 0 V -1 Expert +1798 −535
  3. 97675 [BUGFIX] Resolve record links in the link preview of the RTE This change

  4. main 97674[BUGFIX] Flush pages linking to a record when the record changes This change is based on it Oli Bartsch CR 0 V 0 Hard +288 −6

    The chain has patch set 3 of 4, the changes above it need a rebase.

  5. main 97673[BUGFIX] Keep parameters and fragment of rich text page links on import This change is based on it Merged Oli Bartsch CR +2 V +2 → 14.3 Normal +104 −22

    The chain has patch set 2 of 3, the changes above it need a rebase.

Issues 1

Files 14

Review log 48

  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:54 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114526

  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:10

  5. Oli Bartsch updated the commit message in patch set 4 11/15/26, 11:12

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

  7. core-ci voted on patch set 3 V -1 11/15/26, 11:24 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114535

  8. core-ci voted on patch set 4 V -1 11/15/26, 11:26 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114536