Project

General

Profile

Actions

Bug #99839

open

Can't append L in additionalParams when using recordLink to redirect

Added by Phat Hoang almost 2 years ago. Updated 5 months ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
Link Handling & Redirect Handling
Target version:
-
Start date:
2023-02-06
Due date:
% Done:

0%

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

Description

The function bootFrontendController in RedirectService does the following:
$controller->calculateLinkVars($queryParams);
$controller->getConfigArray();

But should probably be in the other order because calculateLinkVars needs the config.

A test here when redirecting to a record with &L=3 in additionalParams:
$controller->calculateLinkVars($queryParams);
$controller->getConfigArray();
var_dump($controller->linkVars); // string(0) ""

When the order is switched:
$controller->calculateLinkVars($queryParams);
$controller->getConfigArray();
var_dump($controller->linkVars); // string(4) "&L=3"


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #99797: Redirects don't respect current languageClosedStefan Bürk2023-02-02

Actions
Actions

Also available in: Atom PDF