Actions
Bug #99839
openCan't append L in additionalParams when using recordLink to redirect
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"
Actions