[!!!][TASK] Remove TCA option setToDefaultOnCopy 76/60276/6
authorBenni Mack <benni@typo3.org>
Sat, 16 Mar 2019 23:11:56 +0000 (00:11 +0100)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 25 Mar 2019 08:13:42 +0000 (09:13 +0100)
commit1cba821af9f261b8c76be05119abf4b9d41b60c3
treec9f6036e8e242bd72c3fcf3ee95786ff74b5d4b9
parent855df7b2fd0b49d2256d34955e9eca2a5887951a
[!!!][TASK] Remove TCA option setToDefaultOnCopy

This special setting resets a certain field to its default
value when copying. This option was only there for
resetting some sys_action values to default, which can
easily be achieved by a hook if needed.

The option is removed to reduce the amount of checks and
the amount of available options for edge-cases in TCA, as this
option was not widely used - as identified by the Persistence
Initiative.

Resolves: #87989
Releases: master
Change-Id: Iae05d958ff31f0f0c4618486445baad7e624b73b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60276
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/core/Classes/Migrations/TcaMigration.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-87989-TCAOptionSetToDefaultOnCopyRemoved.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Migrations/TcaMigrationTest.php