Project

General

Profile

Actions

Bug #102892

open

RuntimeException when using redirects with record link targets

Added by Christian Gebing 4 months ago. Updated about 2 months ago.

Status:
New
Priority:
Should have
Assignee:
Category:
Redirect Handling
Target version:
-
Start date:
2024-01-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I get the following exception for redirects with record links targets after the site is stored in the cache:

(1/1) #1666513645 RuntimeException

Setup array has not been initialized. This happens in cached Frontend scope where full TypoScript is not needed by the system.
Steps to reproduce:
  1. Flush caches via the maintanance tool
  2. Add a new redirect with a record link target (e.g. t3://record?identifier=example&uid=1)
  3. Follow the redirect
  4. Open the start page or any other page on the current site
  5. Attempt to follow the redirect again

Tested on a minimal TYPO3 ddev setup: https://github.com/cgebing/typo3_record_link_test


Files

2024-01-22_18-57.png (66.3 KB) 2024-01-22_18-57.png Redirect Christian Gebing, 2024-01-22 17:58
Actions

Also available in: Atom PDF