You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BUGFIX] Always fetch ContentObject from request in TYPO3v12+
The ContentObjectFetcher was introduced to have a common API
for fetching the current content object across different
TYPO3 versions.
This class logs a deprecation notice in TYPO3v12:
> TYPO3 Deprecation Notice:
> ConfigurationManager->getContentObject() is deprecated since TYPO3 v12.4
> and will be removed in v13.0.
> Fetch the current content object from request attribute
> "currentContentObject" instead in
> vendor/typo3/cms-extbase/Classes/Configuration/ConfigurationManager.php
> line 96
To prevent this from happening, we check for the TYPO3 version and
always use the request instead of the configuration manager in TYPO3v12+.
Related: #1920
Related: #1921
0 commit comments