Actions
Bug #105046
closedOutdated v13 Breaking documentation for TypoScriptFrontendController
Start date:
2024-09-19
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
Stabilization Sprint
Description
I just stumbled across this:
According to v13 changelog the method TypoScriptFrontendController->getPageArguments()
was marked as internal. However it was actually removed later:
https://github.com/TYPO3/typo3/commit/e32c78585912fa362a8d9a69459a7f0892e5bf89#diff-6dd96118370dfe9aba2916b16f7c479d482af2fae7a4fe20a37553b03cf8d997L1645
I think PageArguments can now be retrieved from the request object on $request?->getAttribute('routing')
.
However developers need to check if the return value is actually a PageArguments
instance, as the attribute can return different objects (not sure if that is planned to change until the final release).
Actions