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,40 @@
.. include:: /Includes.rst.txt
.. _breaking-87989:
========================================================
Breaking: #87989 - TCA option setToDefaultOnCopy removed
========================================================
See :issue:`87989`
Description
===========
The special TCA option :php:`$TCA[$tableName]['ctrl']['setToDefaultOnCopy']` is removed.
It allowed to reset a certain field to its default value when copying a record.
Impact
======
Having the setting set in TCA will trigger a PHP :php:`E_USER_DEPRECATED` error when building TCA.
Copying records with this TCA setting enabled, will now keep the copied state and avoid side-effects.
Affected Installations
======================
TYPO3 installations with active usage of `sys_action` or other extensions using this TCA setting.
Migration
=========
This option was only there for resetting some `sys_action` values to default, which
can easily be achieved by a hook if needed. If an extension author uses this setting,
this should be achieved with proper DataHandler hooks.
.. index:: TCA, PartiallyScanned, ext:core