Project

General

Profile

Actions

Bug #105046

closed

Outdated v13 Breaking documentation for TypoScriptFrontendController

Added by Mario Lubenka 2 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Should have
Category:
Documentation
Target version:
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:

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #105230: Declare TypoScriptFrontendController deprecatedClosed2024-10-08

Actions
Actions

Also available in: Atom PDF