Bug #101344
closed
Call to a member function getSetupArray() for custom t3 record-links
Added by Nikolas Hagelstein 10 months ago.
Updated 10 months ago.
Category:
Redirect Handling
Description
Prior in TYPO3v11 the Linkbrowser respected custom linkhandler configuration in TCEMAIN.linkHandler.
In TYPO3v12 it does not.
Even worse:
If the target field of the redirect contains a custom t3-record link e.g.: t3://record?identifier=news&uid=4
The Redirect module fails with:
Call to a member function getSetupArray() on null in /var/www/html/vendor/typo3/cms-frontend/Classes/Typolink/DatabaseRecordLinkBuilder.php line 41
Files
- Category set to Redirect Handling
- Subject changed from Call to a member function getSetupArray() / Linkbrowser does not respect TCEMAIN.linkHandler anymore to Call to a member function getSetupArray() for custom t3 record-links
- Status changed from New to Accepted
Confirmed the PHP exception.
Please note, that with #98443 the LinkHandler registration changed. Make sure to replace TYPO3\CMS\Recordlist\LinkHandler\RecordLinkHandler
with TYPO3\CMS\Backend\LinkHandler\RecordLinkHandler
in your Page TSConfig in order to globally register record LinkHandlers. Having this in place will result in the linkbrowser in the redirects module to show custom linkhanders.
- Assignee set to Torben Hansen
- Status changed from Accepted to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Also available in: Atom
PDF