#111563Publishing a page deletion without the pending moves of its subpages deletes the subpages and discards their workspace changes
Description
This is not covered by #101903 / patch 89027, which handle publishing the deletion and the moves in the same run. This issue is about publishing the deletion alone. #110181 describes this case but was closed as a duplicate of #101903.
In a workspace, subpages are moved from an old parent to a new parent, then the old parent is deleted. The workspace view looks correct. If only the deletion of the old parent is published, it is executed in the live workspace, where the subpages are still below the old parent. They are deleted along with it, and their pending workspace changes are lost.
Steps to reproduce:
1. Live workspace: pages “Old parent” (with subpage “Subpage”, which has content) and “New parent”.
2. In a workspace: move “Subpage” to “New parent”, edit a content element on “Subpage”, create a new page “New child” below “Subpage”, delete “Old parent”.
3. Workspace module: select only the deletion of “Old parent” and publish.
Actual result:
- “Subpage” and its content are soft-deleted in the live workspace.
- The workspace versions of “Subpage” (the move and the page properties) and of the edited content element are discarded, i.e. removed from the database.
- “New child” is removed from the database.
- No warning is shown before publishing.
- The live records can be restored from the recycler, the discarded workspace changes and “New child” cannot.
Expected result:
Pending moves out of a page that is being deleted are not lost. Preferably they are treated as dependencies and published together with the deletion. At minimum, publishing is refused or shows a warning listing the affected pages.
Version: TYPO3 14.3.10
Related: #101903, patch 89027 (https://review.typo3.org/c/Packages/TYPO3.CMS/+/89027), #110181
Reviews 1
Related issues 2
History 25
-
Benni Mack changed Related to #110181 11/28/26, 22:16
-
Benni Mack changed Related to #101903 11/28/26, 22:16
-
Gerrit Code Review pushed patch set 1 for main to change 98189 status
NewUnder Review 11/29/26, 11:22 -
Gerrit Code Review pushed patch set 2 for main to change 98189 12/04/26, 22:18
-
Gerrit Code Review pushed patch set 3 for main to change 98189 12/05/26, 10:52