Actions
Bug #104512
openRedirect targets with individual linkHandler not working
Status:
New
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2024-07-31
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
I have some redirect records with targets with individual linkHandler syntax. It worked fine in TYPO3 11. But since TYPO3 12 I get the following error message:
Setup array has not been initialized. This happens in cached Frontend scope where full TypoScript is not needed by the system.
The problem is, that ->setSetupArray()
was skipped because a cache record for the root page exists. But then the error is thrown in https://github.com/TYPO3/typo3/blob/12.4/typo3/sysext/frontend/Classes/Typolink/DatabaseRecordLinkBuilder.php#L41
$typoScriptArray = $request->getAttribute('frontend.typoscript')?->getSetupArray() ?? [];
Updated by Garvin Hicking 4 months ago
- Category set to Site Handling, Site Sets & Routing
Updated by Bernhard Eckl 5 days ago
- Related to Bug #102892: RuntimeException when using redirects with record link targets added
Actions