Deprecation: #86047 - TSFE properties / methods and change visibility¶
See forge#86047
Description¶
The following properties of class TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController
have changed their visibility from public to protected and should not be called any longer.
pageAccessFailureHistory
workspacePreview
(not in use anymore)ADMCMD_preview_BEUSER_uid
(not in use anymore)debug
(not in use anymore)MP_defaults
(not in use anymore outside of TSFE)loginAllowedInBranch
(use checkIfLoginAllowedInBranch())
The following methods of class TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController
have changed their visibility from public to protected, as their purpose is to be called from
within TypoScriptFrontendController
.
tempPageCacheContent()
realPageCacheContent()
setPageCacheContent()
clearPageCacheContent_pidList()
setSysLastChanged()
contentStrReplace()
Impact¶
Calling any of the PHP methods will trigger a PHP E_USER_DEPRECATED
error, as well as accessing any of the
previously public properties.
Affected Installations¶
Any TYPO3 installation with extensions directly calling one of the methods or using one of the public properties.
Migration¶
For TypoScriptFrontendController->ADMCMD_preview_BEUSER_uid
use the backend.user aspect of the Context API.
For TypoScriptFrontendController->workspacePreview
use the workspace aspect of the Context API.
For TypoScriptFrontendController->loginAllowedInBranch
use the method checkIfLoginAllowedInBranch()
instead.