Merge conflict
Gerrit cannot merge this change. It needs a rebase onto main.
98189[BUGFIX] Publish moves out of a deleted page along with its deletion
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
-
98189 [BUGFIX] Publish moves out of a deleted page along with its deletion This change
- 89027[BUGFIX] Keep records moved away from pages deleted in workspaces
- 98354[BUGFIX] Skip versions published with an earlier batch in workspaces
Issues 3
Files 8
- typo3/sysext/workspaces/Classes/DataHandler/CommandMap.php+6 −1
- typo3/sysext/workspaces/Classes/DataHandler/DeletedPageMoveResolver.phpnew+194 −0
- typo3/sysext/workspaces/Classes/Hook/DataHandlerHook.php+169 −58
- typo3/sysext/workspaces/Tests/Functional/DataHandler/Fixtures/NonAdminPublishers.csvnew+8 −0
- typo3/sysext/workspaces/Tests/Functional/DataHandler/Fixtures/PageBelowMovedSubpage.csvnew+3 −0
- typo3/sysext/workspaces/Tests/Functional/DataHandler/Fixtures/SecondSubpage.csvnew+3 −0
- typo3/sysext/workspaces/Tests/Functional/DataHandler/Fixtures/TranslatedPageWithContent.csvnew+6 −0
- typo3/sysext/workspaces/Tests/Functional/DataHandler/PublishDeletedPageTest.phpnew+550 −0
Review log 47
-
Benni Mack uploaded patch set 1 11/29/26, 11:22
-
Benni Mack wrote 11/29/26, 11:22
Topic set to DataHandler -
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
-
Benni Mack uploaded patch set 2
V +112/04/26, 22:18 -
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
-
Benni Mack rebased onto patch set 3
V +112/05/26, 10:52 -
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