Bug #82887

Additional parameters in content text editor when using link browser missing

Added by Felix Paul almost 2 years ago. Updated over 1 year ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2017-10-31
Due date:
% Done:

0%

TYPO3 Version:
8
PHP Version:
7.0
Tags:
link browser; text editor; backend; ui
Complexity:
Is Regression:
Sprint Focus:

Description

As backenduser when setting a link in the text editor on a "text" content element I do:
-> Highlight text
-> Open link browser
-> go to "Page" tab
-> set additional link parameter ("&param1=4")
-> select page of choice
-> save (link works w/parameter)
-> Open link browser with double click on the previously set link

Expected result:
-> The link browser displays the previously entered additional link parameter ("&param1=4")
Current result:
-> The link browser does not show the additional link parameters entered before

History

#1 Updated by Malte Koitka over 1 year ago

Later I will add a PR if I find some free time. Quick fix for now:

typo3/sysext/recordlist/Classes/Controller/AbstractLinkBrowserController.php

In line ~315 (at the end of method initCurrentUrl) add:

if(isset($this->currentLinkParts['url']['parameters']) && !empty($this->currentLinkParts['url']['parameters'])) {
   $this->linkAttributeValues['params'] = '&' . $this->currentLinkParts['url']['parameters'];
}

Also available in: Atom PDF