Review main Abandoned

74965[FEATURE] add support for TCAdefaults per record type

Jonathan Kieling CR 0 V 0 Hard +549 −1 updated 12/11/23, 12:50

Commit message

Similarly to the types config for fields in TCEFORM it is now possible
to define default values per type in TCAdefaults. Both UserTsConfig and
PageTsConfig are supported with the existing override rules.
The type specific default values overrule any other default values and
take incoming data into consideration when evaluating the record type.

The TCA configuration for a table's type field is evaluated, allowing to
set default values for any table that supports types (e.g. pages' doktype
or tt_content's CType).

e.g. TCAdefaults.pages.backend_layout.types.123 = pagets__Layout123

Review

  • Code review CR 0
  • Verified V 0

Issues 1

Files 5

Review log 58

  1. Jonathan Kieling uploaded patch set 1 06/20/22, 09:53

  2. core-ci voted on patch set 1 V -1 06/20/22, 10:00 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28248

  3. Jonathan Kieling uploaded patch set 2 06/20/22, 10:23

  4. core-ci voted on patch set 2 V +1 06/20/22, 10:30 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28252

  5. Stefan Bürk commented on patch set 2 06/20/22, 10:37

    Unresolved

    Thanks for your first patch. Honestly, not reviewed yet in detail, but first things which needs to be fixed/changed: Revert changes in: * typo3/sysext/core/Documentation/Changelog-12.rst Remove: * typo3/sysext/core/Documentation/Changelog/12.1/Index.rst ``` Move typo3/sysext/core/Documentation/Changelog/12.1/Feature-91835-AddSupportForTCAdefaultsPerRecordType.rst to typo3/sysext/core/Documentation/Changelog/12.0/Feature-91835-AddSupportForTCAdefaultsPerRecordType.rst ```
  6. Jonathan Kieling uploaded patch set 3 06/20/22, 11:21

  7. core-ci voted on patch set 3 V -1 06/20/22, 11:29 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28254

  8. Jonathan Kieling abandoned the change 12/11/23, 12:50

    This feature has the same functionality as tt_content_defValues in content wizard presets