Bug #83056

Cannot set pageIdSelector configuration on link browser (outside of rte)

Added by Felix Paul about 2 years ago. Updated 5 months ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2017-11-21
Due date:
% Done:

0%

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

Description

As backend-user:
-> Add new Content to a page
-> Select "Regular Text Element"
-> In the "General" tab, next to the "Link" field, click on the link symbol to open the link browser
-> In the PageLinkHandler::modifyLinkAttributes(..) method the link browser uses the "default" configuration (the AbstractLinkBrowserController::getConfiguration() method is called) which is just an empty array that cannot be overwritten. Thus the pageIdSelector property can not be set.

Expected Behaviour:
-> Link browser loads its configuration, which is then checked in the PageLinkHandler::modifyLinkAttributes(..) method. This allows setting of the "pageIdSelector.enabled" property for the link browser. (Note that the link browser when opened from the RTE editor does load a configuration, which allows enabling of the pageIdSelector)


Related issues

Related to TYPO3 Core - Bug #82942: Wrong Links for pageids in rte_ckeditor in TYPO3 8.7.8 New 2017-11-07
Related to TYPO3 Core - Bug #88656: RTE.default.buttons.link.pageIdSelector.enabled = 1 is not working Resolved 2019-06-29

History

#1 Updated by Riccardo De Contardi almost 2 years ago

  • Related to Bug #82942: Wrong Links for pageids in rte_ckeditor in TYPO3 8.7.8 added

#2 Updated by Riccardo De Contardi 5 months ago

  • Related to Bug #88656: RTE.default.buttons.link.pageIdSelector.enabled = 1 is not working added

#3 Updated by Gerrit Code Review 5 months ago

  • Status changed from New to Under Review

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61194

Also available in: Atom PDF