Merge conflict

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

Review main Ready for review

98189[BUGFIX] Publish moves out of a deleted page along with its deletion

Benni Mack CR 0 V 0 Hard +939 −59 updated 12/05/26, 11:09

Commit message

When subpages or records were moved away from a page in a workspace
and only the deletion of that page was published, the deletion was
executed on the live page tree, where the moved records were still
located below the deleted page. They were deleted recursively, and
their workspace versions were discarded.

Pending moves out of the live subtree of a page deleted in the
workspace are now published along with the deletion. As a move is
stored in the same version as other changes of the record, these
changes are published as well, even if they were not selected.

If one of these moves can not be published, because of its stage,
missing permissions, or because it leads to a page that exists in
the workspace only and is not published, too, no move is added and
the deletion is refused with a log entry. Selected moves which depend
on an unpublished page or move stay in the workspace as well then.

Translations of the page published in the same run are kept if its
deletion is refused. The deletion of a single page translation is
refused as long as translated records have a pending move.

Moves to a page that has been deleted, too, are not considered. Moves
pending in other workspaces are still discarded when the live page
is deleted.
Show more Show less
Resolves: #111563
Related: #101903
Related: #110181
Releases: main, 14.3
Change-Id: Ic404b5531da0bdc648db330d7793679b603dd06a

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

Review

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

Relation chain 3

  1. 98189 [BUGFIX] Publish moves out of a deleted page along with its deletion This change

  2. 89027[BUGFIX] Keep records moved away from pages deleted in workspaces This change is based on it Benni Mack → main, 14.3 Hard +336 −29 CR 0 V 0 Merge conflict
  3. 98354[BUGFIX] Skip versions published with an earlier batch in workspaces This change is based on it Benni Mack → main, 14.3 Hard +257 −21 CR +1 V +1

Issues 3

Files 8

Review log 47

  1. Benni Mack uploaded patch set 1 11/29/26, 11:22

  2. Benni Mack wrote 11/29/26, 11:22

    Topic set to DataHandler
  3. core-ci voted on patch set 1 V +1 11/29/26, 11:36 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115949

  4. Benni Mack uploaded patch set 2 V +1 12/04/26, 22:18

  5. core-ci voted on patch set 2 V +1 12/04/26, 22:26 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/116369

  6. Benni Mack rebased onto patch set 3 V +1 12/05/26, 10:52

  7. core-ci voted on patch set 3 V +1 12/05/26, 11:09 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/116440