Project

General

Profile

Actions

Bug #96765

open

Epic #98291: [UX] - Better use of space

Deleted subpages are not listed in the history

Added by Michael Schams over 2 years ago. Updated over 1 year ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2022-02-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
UX
Complexity:
Is Regression:
Sprint Focus:

Description

Deleted subpages are not listed in the history. As a consequence they can't be rolled back.

HOW TO REPRODUCE THE ISSUE

Create the following page tree:

The database table pages shows the following records:

SELECT uid, pid, title, deleted FROM pages;
+-----+-----+-----------+---------+
| uid | pid | title     | deleted |
+-----+-----+-----------+---------+
|   1 |   0 | page 1    |       0 |
|   2 |   0 | page 2    |       0 |
|   3 |   0 | page 3    |       0 |
|   4 |   1 | subpage A |       0 |
|   5 |   1 | subpage B |       0 |
|   6 |   1 | subpage C |       0 |
+-----+-----+-----------+---------+

Delete "page 1" (ID: 1) from the context menu in the page tree:

The database table pages now shows the following records:

SELECT uid, pid, title, deleted FROM pages;
+-----+-----+-----------+---------+
| uid | pid | title     | deleted |
+-----+-----+-----------+---------+
|   1 |   0 | page 1    |       1 |
|   2 |   0 | page 2    |       0 |
|   3 |   0 | page 3    |       0 |
|   4 |   1 | subpage A |       1 |
|   5 |   1 | subpage B |       1 |
|   6 |   1 | subpage C |       1 |
+-----+-----+-----------+---------+

The "page 1" is marked as deleted and also its subpages (ID 4, 5, and 6). Now open the History/Undo function from the context menu in the page tree:

The history shows the deletion event of "page 1" but not the subpages. Even if the toggle switch "Show sub elements" is enabled. You can roll back the deletion of "page 1" but you can't roll back the deletion of the subpages.


Files

image01.png (25.6 KB) image01.png Michael Schams, 2022-02-07 01:40
image02.png (44.8 KB) image02.png Michael Schams, 2022-02-07 01:40
image03.png (24.2 KB) image03.png Michael Schams, 2022-02-07 01:40
Actions

Also available in: Atom PDF