Review 14.3 Merged

97482[BUGFIX] Keep t3:// format of file links on import

Oli Bartsch CR +2 V +2 Normal +170 −19 updated 11/10/26, 05:52

Commit message

Exported file links in rich text fields keep their t3:// notation
when they are imported again, for example t3://file?uid=2 instead
of file:2. Record links are already remapped within the link by the
parent change.

The typolink_tag soft reference parser now uses the link itself as
token value of a file link, as it does for record links, so the
import replaces only the uid within the link.

The linkvalidator stores these file links with the link as url now.
Its file linktype and the broken link check of the rich text editor
recognize both notations.

Exports created before this change still contain "file:<uid>" as
token value and are imported as before.

Review

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

Issues 2

Files 14

Review log 34

  1. Oli Bartsch uploaded patch set 1 11/09/26, 22:43

  2. core-ci voted on patch set 1 V +1 11/09/26, 22:52 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113816

  3. Benni Mack voted on patch set 1 CR +2 V +2 11/10/26, 05:52

  4. Benni Mack merged patch set 2 11/10/26, 05:52