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 #1

Updated by Peter Kraume 7 months ago

  • Related to Bug #99797: Redirects don't respect current language added
Actions #2

Updated by Benni Mack 11 days ago

  • Status changed from New to Needs Feedback

Hey Phat Hoang,

can you try this in v13 again? We've been working on this area quite a lot in the past versions...

Actions

Also available in: Atom PDF