Review main Ready for review

89027[BUGFIX] Keep records moved away from pages deleted in workspaces

Benni Mack CR 0 V 0 Normal +93 −19 updated 11/19/26, 07:07

Commit message

When a subpage or a content element is moved away from a page and
the page is deleted afterwards in a workspace, publishing both
changes in one go deleted the moved record as well: the deletion of
the live page was processed first and recursively removed the
records, which were still located on the page in live.

Publishing a deleted page is now deferred until all other commands
of the command map have been processed. This makes publishing the
whole workspace and publishing selected records independent of the
order of the command map.

As a consequence, records created within a page deleted in the same
workspace are now published and deleted along with the page instead
of being dropped silently.

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 3
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/27/89027/3 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/27/89027/3 && 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 2

Issues 1

Files 4

Review log 58

  1. Benni Mack uploaded patch set 1 04/10/25, 07:52

  2. core-ci voted on patch set 1 V -1 04/10/25, 08:02 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/77398

  3. Benni Mack marked it work in progress 04/10/25, 08:54

  4. Benni Mack uploaded patch set 2 V -1 11/18/26, 22:20

  5. Benni Mack marked it ready for review 11/18/26, 22:26

  6. core-ci voted on patch set 2 V +1 11/18/26, 22:32 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114941

  7. Benni Mack uploaded patch set 3 V +1 11/19/26, 06:58

  8. core-ci voted on patch set 3 V +1 11/19/26, 07:07 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114964