Issue Bug Resolved

#111378Import breaks record links when mapping uids of imported records

Oliver Bartsch 11/09/26, 13:00 updated 11/09/26, 21:10

Description

On import, links like t3://record?identifier=news&uid=42 in fields with the typolink or typolink_tag soft reference parser are replaced by “t3:<new uid>“.</new>

Import::processSoftReferencesSubstTokens() treats every token value that contains “:” as “table:uid” and replaces it completely. In addition, TypolinkSoftReferenceParser uses the whole typolink, including target, class and title, as token value of a record link, so these parts would be duplicated on substitution.

Expected: only the uid inside the record link is replaced, e.g. t3://record?identifier=news&uid=20.

Reviews 4

History 14

  1. Oliver Bartsch commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-11-09T21:10:11+00:00" > 11/09/26, 21:10 </span>

    Applied in changeset commit:ade0c6c12408e048d19cdbbe5f241bcea596722e.