Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

Review main Work in progress Quiet Breaking

96829[!!!][BUGFIX] Restore deleted records by their deletion operation

Benni Mack CR 0 V 0 Hard +579 −28 updated 10/18/26, 16:13

Commit message

Restoring a record also restored every soft-deleted inline child
still pointing to it, including children an editor deleted on
purpose before the parent. Content removed for a reason came back
without notice.

Which children were deleted together with a record is only known
to the record history: a cascading delete writes all its entries
with the same correlation scope. RecordHistory now resolves the
records of a deletion operation, and the recycler and the history
rollback restore them as explicit undelete commands. Records
deleted before or again after that operation stay deleted.

The DataHandler "undelete" command restores exactly the given
record and no longer cascades to inline children.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/29/96829/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/29/96829/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Issues 2

Files 12

Review log 12

  1. Benni Mack uploaded patch set 1 10/18/26, 16:05

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