Bug #21299
closedCan't restore a deleted page in draft workspace
Added by Robert Heel about 15 years ago. Updated almost 4 years ago.
100%
Description
Create a page in draft workspace and delete it. Try to restore this page. Everything in history is shown correct, but the page didn't appear in the page tree.
(issue imported from #M12268)
Files
Cattura2.PNG (18.2 KB) Cattura2.PNG | Riccardo De Contardi, 2013-05-07 11:25 |
Updated by Robert Heel about 15 years ago
undeleteRecord doesn't restore the t3ver_wsid and undelete the workspace version.
Updated by Susanne Moog over 13 years ago
- Status changed from New to Accepted
- Target version deleted (
0)
Updated by Oliver Hader over 13 years ago
- Status changed from Accepted to Needs Feedback
Can you please tell how this issue can be reproduced?
Updated by Robert Heel over 13 years ago
1) Switch to a draft workspace
2) Create a page
3) Delete the page again.
4) Go to this history of the parent page. Try to undelete it.
No error message, but no undeleted page.
Updated by Tolleiv Nietsch over 13 years ago
- Status changed from Needs Feedback to Accepted
Updated by Riccardo De Contardi over 11 years ago
- File Cattura2.PNG Cattura2.PNG added
Procedure followed in TYPO3 6.1:
1) Switch to a draft workspace
2) Create a page (called "to delete 2", ID=31)
3) Delete the page again.
4) switch to live workspace
5) the page is still present and live (correct, I guess)
6) Go to parent page.
7) list view
8) click on history/undo
9) click on rollback/preview; click on "rollback all changes shown"; the result is shown in attached file
As far as I can see the page has been restored
BTW: the recycler module does not work at all in custom workspace: is it a bug or intentional?
Updated by Michael Stucki almost 11 years ago
- Project changed from 624 to TYPO3 Core
- Category changed from Workspaces to Workspaces
Updated by Benni Mack about 9 years ago
- Target version changed from 7.5 to 7 LTS
Updated by Riccardo De Contardi over 7 years ago
I performed a test with 6.2.30, 7.6.18 and latest master:
Test procedure and result with 6.2.30:¶
- Switch to a Custom Workspace
- Create a page
- Delete the page
- Switch to LIVE > result: the page is absent
- Recycler: the page can be restored (only LIVE - the recycler does not work in custom worskspace)
Test procedure and result with 7.6.18 and latest master:¶
Note: the recycler seems to work in Custom Workspace - it shows the same elements already deleted in LIVE workspace.
- Switch to a Custom Workspace
- Create a page
- Delete the page
- go to recycler - the page is NOT listed
- Switch to LIVE > result: the page is absent
- go to recycler: the page IS LISTED and the page can be restored (only LIVE, then as the page is not listed when the recycler is accessed in Custom Workspace)
Updated by Riccardo De Contardi over 6 years ago
my last comment still applies to 9.4-dev (latest master)
Updated by Christian Weiske about 5 years ago
This still happens on TYPO3 9.5.9.
When restoring the page in the workspace (via parent page context menu: history/undo), the "deleted"-flag of the "initial placeholder" version is set to 0, but the "first draft version" record keeps "deleted=1".
Clicking on the restored page in the page tree gives us an exception:
(1/1) #1534710048 TYPO3\CMS\Core\Exception\SiteNotFoundException
No pseudo-site found in root line of page 228
Updated by Christian Weiske about 5 years ago
- Related to Bug #89383: Restoring deleted content element in workspace fails added
Updated by Christian Kuhn over 4 years ago
- Related to Bug #90679: "Restore record" does not restore record added
Updated by Christian Kuhn over 4 years ago
- Related to Bug #92056: Recycler shows workspace records in live workspace added
Updated by Christian Kuhn almost 4 years ago
- Related to Task #93121: Make workspace delete a discard added
Updated by Gerrit Code Review almost 4 years ago
- Status changed from Accepted to Under Review
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67191
Updated by Gerrit Code Review almost 4 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67191
Updated by Gerrit Code Review almost 4 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67191
Updated by Gerrit Code Review almost 4 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67191
Updated by Gerrit Code Review almost 4 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67191
Updated by Christian Kuhn almost 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 5e7cad94c4395f87fc651a62e75bbf55c03d620c.
Updated by Benni Mack almost 4 years ago
- Status changed from Resolved to Closed