TYPO3 v15 dev-main snapshot ()

This commit is contained in:
2026-08-10 22:31:09 +02:00
commit af8cc155b5
6818 changed files with 642608 additions and 0 deletions
@@ -0,0 +1,53 @@
.. include:: /Includes.rst.txt
.. _breaking-107473-1758113238:
===================================================================
Breaking: #107473 - TypoScript condition function getTSFE() removed
===================================================================
See :issue:`107473`
Description
===========
The TypoScript condition function :typoscript:`getTSFE()` has been removed.
After various properties like :typoscript:`getTSFE().type` were already removed
in TYPO3 v13, the remaining parts of this functionality have now been removed
in TYPO3 v14.
The most common remaining use was accessing the current page ID via
:typoscript:`getTSFE().id`, which can be replaced with
:typoscript:`request.getPageArguments().getPageId()`.
Impact
======
Conditions using :typoscript:`getTSFE()` will no longer evaluate to true and
must be updated.
Affected installations
======================
Instances with TypoScript conditions that use the function
:typoscript:`getTSFE()` are affected.
Migration
=========
Replace :typoscript:`getTSFE()` with an equivalent condition. For example:
**Before:**
.. code-block:: typoscript
[getTSFE() && getTSFE().id == 42]
**After:**
.. code-block:: typoscript
[request?.getPageArguments()?.getPageId() == 42]
.. index:: TypoScript, NotScanned, ext:frontend