Task #87989

Remove $TCA option setToDefaultOnCopy

Added by Benni Mack 8 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
DataHandler aka TCEmain
Start date:
2019-03-23
Due date:
% Done:

100%

TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The option is hardly used and can be solved via a custom hook as well.

Associated revisions

Revision 1cba821a (diff)
Added by Benni Mack 8 months ago

[!!!][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 <>
Tested-by: TYPO3com <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Daniel Goerz <>
Reviewed-by: Andreas Fernandez <>

History

#1 Updated by Gerrit Code Review 8 months ago

  • Status changed from New to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60276

#2 Updated by Gerrit Code Review 8 months ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60276

#3 Updated by Gerrit Code Review 8 months ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60276

#4 Updated by Gerrit Code Review 8 months ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60276

#5 Updated by Benni Mack 8 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#6 Updated by Benni Mack 6 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF