Issue Bug Closed

#105046Outdated v13 Breaking documentation for TypoScriptFrontendController

Mario Lubenka 09/19/24, 14:08 updated 10/22/24, 19:15

Description

I just stumbled across this:

https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/13.0/Breaking-102621-MostTSFEMembersMarkedInternalOrRead-only.html#breaking-102621-most-tsfe-members-marked-internal-or-read-only

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).

Reviews 1