Review main Merged

96924[TASK] Compare inline, group and category relations with DataHandler

Alexander Schnitzler CR +2 V +2 Expert +1782 −0 updated 10/20/26, 16:29

Commit message

Writing and removing relations through an Extbase repository and
through the backend should leave the database in the same state.
This adds RelationTypesWriteTest, RelationRemoveTest and
CategoryRelationTest with pairs of functional tests on blog_example:
a ByCore test works through DataHandler as an admin, a ByExtbase test
does the same through the repository and expects the same rows.

The pairs cover a many-to-many relation written from the foreign
side, select and group fields without relation table, inline
children without foreign field, one child table for two inline
fields, file references, nested inline children created in one run,
the relation rows of categories, and removing records with nested
inline children, with many-to-many relations and with categories.

Extbase differs from DataHandler in two of them. Those ByExtbase
tests are skipped and describe the difference:
- removing a file reference from its parent detaches the reference
  instead of deleting it and leaves the remaining reference at its
  old sorting_foreign
- removing a category from a record leaves the remaining relation
  row at its old sorting_foreign

blog_example gets the collection, label and attachment tables with
models and repositories for the relation types the existing tables
do not cover.

Review

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

Issues 2

Files 44

Show 24 more files

Review log 67

  1. Alexander Schnitzler uploaded patch set 1 10/20/26, 14:52

  2. core-ci voted on patch set 1 V +1 10/20/26, 15:02 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111854

  3. Alexander Schnitzler marked it ready for review 10/20/26, 15:21

  4. Alexander Schnitzler wrote 10/20/26, 15:22

    Topic set to extbase
  5. Oliver Klee voted on patch set 1 V +1 10/20/26, 16:10

  6. Benni Mack voted on patch set 1 CR +2 V +2 10/20/26, 16:29

  7. Benni Mack merged patch set 2 10/20/26, 16:29