Cannot set pageIdSelector configuration on link browser (outside of rte)
-> 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.
-> 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)
#3 Updated by Gerrit Code Review 7 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