Breaking: #87989 - TCA option setToDefaultOnCopy removed
See forge#87989
Description
The special TCA option $TCA
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 E_
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_
or other extensions using this TCA setting.
Migration
This option was only there for resetting some sys_
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.