Bug #77749
closedBug #71298: Fix missing/broken RTE features after Link Handler API merge
Link Wizard does not work after creating a folder
0%
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