Project

General

Profile

Actions

Bug #99839

open

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

Added by Phat Hoang over 1 year ago. Updated 11 days ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
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 (1 open0 closed)

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

Actions
Actions

Also available in: Atom PDF