Bug #101344
closedCall to a member function getSetupArray() for custom t3 record-links
100%
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
Updated by Nikolas Hagelstein about 1 year ago
Updated by Nikolas Hagelstein about 1 year ago
- Category set to Redirect Handling
Updated by Nikolas Hagelstein about 1 year ago
- 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
Updated by Torben Hansen about 1 year ago
- 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.
Updated by Gerrit Code Review about 1 year ago
- Status changed from Accepted to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80040
Updated by Gerrit Code Review about 1 year ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80040
Updated by Gerrit Code Review almost 1 year ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80054
Updated by Torben Hansen almost 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 606ef90a8a39a5ff445dd62705deebca42a556ea.