Review main Merged

96914[TASK] Compare removing records in Extbase with DataHandler

Alexander Schnitzler CR +2 V +2 Hard +816 −1 updated 10/20/26, 16:06

Commit message

Removing a record through an Extbase repository and deleting it in
the backend should leave the database in the same state. This adds
RemoveTest with pairs of functional tests on blog_example: a ByCore
test deletes through DataHandler as an admin, a ByExtbase test does
the same through the repository and expects the same rows.

The pairs cover deleting a record, its translations and its inline
children with and without cascade remove, a record without delete
column, the MM rows of removed and soft-deleted records, and removing
a child from an inline relation of its parent.

Extbase differs from DataHandler in five of them. Those ByExtbase
tests are skipped and describe the difference:
- deleting the default record leaves its translations
- removing an object loaded as its translation deletes the default
  record instead of the translation
- inline children without cascade remove are not deleted
- cascade remove leaves the translations of the children
- a child removed from its parent is detached instead of deleted

blog_example gets a small bookmark table without delete column, with
MM tags and inline posts, for the cases the existing tables do not
cover.

Review

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

Issues 2

Files 26

Show 6 more files

Review log 56

  1. Alexander Schnitzler uploaded patch set 1 10/20/26, 12:48

  2. Alexander Schnitzler wrote 10/20/26, 12:48

    Topic set to extbase
  3. core-ci voted on patch set 1 V +1 10/20/26, 13:03 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111813

  4. Alexander Schnitzler commented on patch set 1 10/20/26, 13:03

    This change is ready for review.
  5. Benni Mack voted on patch set 1 CR +2 V +2 10/20/26, 16:06

  6. Benni Mack merged patch set 2 10/20/26, 16:06