Review main Merged

95866[BUGFIX] Resolve MM relations with tablenames match field

Georg Ringer CR +2 V +2 Easy +44 −2 updated 10/22/26, 15:38

Commit message

RelationHandler->readMM() treated a value in the MM table column
"tablenames" as the foreign table whenever the local side of a
relation was read. When "MM_match_fields" set "tablenames" to the
local table, as done without "MM_opposite_field", every relation was
discarded and the field appeared to be empty.

The column is now only used as table name if it refers to one of the
allowed foreign tables.

Review

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

Issues 1

Files 3

Review log 56

  1. Georg Ringer uploaded patch set 1 09/15/26, 21:27

  2. Georg Ringer commented on patch set 1 09/15/26, 21:27

    This change is ready for review.
  3. core-ci voted on patch set 1 V +1 09/15/26, 21:35 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/108641

  4. Simon Schaufelberger voted on patch set 1 CR +1 V +1 09/18/26, 23:01

  5. Benni Mack voted on patch set 1 CR +2 V +2 10/22/26, 15:38

  6. Benni Mack merged patch set 2 10/22/26, 15:38