#110264Link browser "Update" button discards additional parameters and page type of page links
Description
When editing an existing page link in the link browser and only changing one of the link attributes (title, CSS class, target, additional parameters) followed by clicking the “Update” button, the page type (&type=) and any additional parameters (e.g. &L=1) of the link are silently discarded.
Example: a field contains
- t3://page?uid=42&L=1#123
Opening the link browser on that field, changing only the link title and clicking “Update” saves
- t3://page?uid=42#123
Re-selecting the page/content element manually in the tree keeps the parameters, because that code path uses the full URL of the clicked element.
Steps to reproduce
1. Create a link to a page and add something in “Additional link parameters” (e.g. &L=1 or &foo=bar), or use a t3://page?uid=42&type=98 link. Save.
2. Re-open the link browser on that field.
3. Change only the link title (or CSS class / target).
4. Click “Update”.
5. The saved link has lost &L=1 / &type=98.
Reviews 1
History 12
-
Gerrit Code Review pushed patch set 1 for main to change 94886 status
NewUnder Review <span data-processor="relativetime" data-value="2026-07-22T15:21:54+00:00" > 07/22/26, 15:21 </span> -
Benni Mack commented and changed status
Under ReviewRejected <span data-processor="relativetime" data-value="2026-07-24T10:48:46+00:00" > 07/24/26, 10:48 </span>
It was a problem with EXT:link2language. https://github.com/b13/link2language/commit/d75d45c054b83bdcea552383ee5384c051833f0e