Project

General

Profile

Actions

Bug #104512

open

Redirect targets with individual linkHandler not working

Added by Albrecht Köhnlein 4 months ago. Updated 4 months ago.

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() ?? [];

Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #102892: RuntimeException when using redirects with record link targetsNewStefan Bürk2024-01-22

Actions
Actions

Also available in: Atom PDF