Review main Ready for review

97761[BUGFIX] Recount parent counter after child delete

Benjamin Kott CR 0 V 0 Hard +271 −2 updated 11/17/26, 17:31

Commit message

Deleting an inline child with foreign_field left the counter field of
its parent stale, and the same for the translated parent of the
translations deleted along. DataHandler now remembers these parents and
recounts them at the end of process_cmdmap(), writing only a changed
value and skipping parents that are deleted themselves. In a workspace
only an existing version of the parent is updated; the live parent is
recounted when the delete placeholder is published.

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/61/97761/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/61/97761/1 && git cherry-pick FETCH_HEAD

Review

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

Merge conflicts 27

Issues 1

Files 14

Review log 12

  1. Benjamin Kott uploaded patch set 1 11/17/26, 17:20

  2. core-ci voted on patch set 1 V +1 11/17/26, 17:31 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114767