Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

Review main Work in progress

97603[TASK] Introduce RecordTypeResolver and deprecate getTCAtypeValue()

Benni Mack CR 0 V 0 Hard +365 −127 updated 11/13/26, 10:18

Commit message

The record type of a TCA record was determined by
BackendUtility::getTCAtypeValue(), which the DataHandler in EXT:core
relied on as well, and in parts by the RecordFactory.

The new core service RecordTypeResolver resolves the record type of
a database row, including types defined by a field of a related
record ("file:type"), using the version of the related record in
the current workspace. It is used by the RecordFactory, the
DataHandler, BackendUtility, FormEngineUtility and the slug and
suggest wizard controllers.

BackendUtility::getTCAtypeValue() is deprecated.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/03/97603/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/03/97603/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Relation chain 2

  1. 97603 [TASK] Introduce RecordTypeResolver and deprecate getTCAtypeValue() This change

  2. main 97599[BUGFIX] Resolve foreign record types in RecordFactory This change is based on it Work in progress Benni Mack CR 0 V 0 Normal +161 −10

Issues 2

Files 13

Review log 23

  1. Benni Mack uploaded patch set 1 11/13/26, 10:09

  2. core-ci voted on patch set 1 V +1 11/13/26, 10:18 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114300

  3. Benni Mack marked it work in progress 11/13/26, 10:18