Review main Merged

97105[TASK] Use FlexForm schema in DataHandler relations

Benni Mack CR +2 V +2 Normal +105 −125 updated 10/25/26, 18:07

Commit message

When moving, deleting, discarding or publishing a record, DataHandler
resolved the data structure of flex fields itself and walked the raw
"sheets/ROOT/el" arrays to find inline children and MM relations.

These places now use the sheet field objects of
FlexFormSchemaFactory::getSchemaForRow(), the same way as for regular
TCA columns. RelationHandler is initialized with the sheet field, and
MM relations are detected via the relationship type of the field.

Publishing a record no longer fails if the data structure of a flex
field cannot be resolved, which is only the case for invalid TCA.

Review

  • Code review CR +2 Done
    • Benni Mack +2
    • Oli Bartsch +1
    • Wouter Wolters +1
  • Verified V +2 Done
    • Benni Mack +2
    • Oli Bartsch +1
    • Oliver Klee +1
    • Wouter Wolters +1
    • core-ci +1 CI

Issues 2

Files 2

Review log 1012

  1. Benni Mack uploaded patch set 1 10/24/26, 12:05

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

  3. Wouter Wolters voted on patch set 1 CR +1 V +1 10/24/26, 13:55

  4. Oli Bartsch commented on patch set 1 CR -1 10/25/26, 17:08

    Reviewing
  5. Oli Bartsch uploaded patch set 2 CR +1 V +1 10/25/26, 17:12

  6. Oli Bartsch voted on patch set 2 CR +1 V +1 10/25/26, 17:13

  7. Oli Bartsch commented on patch set 2 10/25/26, 17:13

    Reply

    Done
  8. core-ci voted on patch set 2 V +1 10/25/26, 17:23 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112527

  9. Oliver Klee voted on patch set 2 V +1 10/25/26, 17:45

  10. Wouter Wolters voted on patch set 2 CR +1 V +1 10/25/26, 17:50

  11. Benni Mack voted on patch set 2 CR +2 V +2 10/25/26, 18:07

  12. Benni Mack merged patch set 3 10/25/26, 18:07