Review 14.3 Merged

97101[TASK] Use Schema API for MM checks in DataHandler

Benni Mack CR +2 V +2 Normal +135 −59 updated 10/24/26, 10:47

Commit message

PassiveRelation now exposes the field it points to and the MM table
it uses, like ActiveRelation does. DataHandler uses this to detect
the local side of a bidirectional MM relation, instead of reading the
raw TCA of the foreign side, and checks for MM fields via their
relationship type instead of the "MM" configuration key.

RelationHandler is initialized via initializeForField() wherever the
call is equivalent to the hand-assembled start() arguments, so table
list and MM table are derived from the field in one place.

Calls that intentionally pass no MM table for MM fields, or that
would start registering non-table values, are kept on start().

Review

  • Code review CR +2 Done
    • Benni Mack +2
  • Verified V +2 Done
    • Benni Mack +2
    • core-ci +1 CI

Issues 2

Files 4

Review log 34

  1. Benni Mack uploaded patch set 1 10/24/26, 09:29

  2. core-ci voted on patch set 1 V +1 10/24/26, 09:39 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112410

  3. Benni Mack voted on patch set 1 CR +2 V +2 10/24/26, 10:46

  4. Benni Mack merged patch set 2 10/24/26, 10:47