#111378Import breaks record links when mapping uids of imported records
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
-
Gerrit Code Review pushed patch set 1 for main to change 97435 status
NewUnder Review <span data-processor="relativetime" data-value="2026-11-09T13:03:59+00:00" > 11/09/26, 13:03 </span> -
Gerrit Code Review pushed patch set 2 for main to change 97435 <span data-processor="relativetime" data-value="2026-11-09T14:49:22+00:00" > 11/09/26, 14:49 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 97474 <span data-processor="relativetime" data-value="2026-11-09T21:07:31+00:00" > 11/09/26, 21:07 </span>
-
Oliver Bartsch commented and changed status
Under ReviewResolved done0 %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.