Project

General

Profile

Actions

Bug #77749

closed

Bug #71298: Fix missing/broken RTE features after Link Handler API merge

Link Wizard does not work after creating a folder

Added by Robert Vock over 7 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2016-09-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

The link wizard beside an input field opens a popup which gets a fieldChangeFunc parameter to change a field via javascript. This parameter can get lost when certain actions are performed within the popup. When the parameter is lost, selecting anything in the popup will not change the field in the opener document.

Steps to reproduce:
1. Open the Link Browser using the wizard link

2. Go to folder tab
3. Create a new folder
4. Try to click on anything to generate a link

This bug affects the linkhandler extension which shows a list-view in the popup.

The source for this bug is within LinkBrowserController:
https://github.com/TYPO3/TYPO3.CMS/blob/d4ef7b/typo3/sysext/backend/Classes/Controller/LinkBrowserController.php#L68

During initDocumentTemplate the fieldChangeFunc-array will be changed without adjusting the fieldChangeFuncHash. When a link uses the fieldChangeFunc-parameter, it will get invalidated because of the incorrect hash.


Files

link-wizard.png (4.98 KB) link-wizard.png Robert Vock, 2016-09-01 15:07
cattura1.png (160 KB) cattura1.png Riccardo De Contardi, 2020-02-08 00:19
cattura2.png (146 KB) cattura2.png Riccardo De Contardi, 2020-02-08 00:22
cattura3.png (28.1 KB) cattura3.png Riccardo De Contardi, 2020-02-08 00:26
Actions

Also available in: Atom PDF