Project

General

Profile

Actions

Bug #21299

closed

Can't restore a deleted page in draft workspace

Added by Robert Heel about 15 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Workspaces
Target version:
-
Start date:
2009-10-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Related issues 5 (0 open5 closed)

Related to TYPO3 Core - Bug #36292: Rolling back deletion of a draft element fails and will undelete the placeholderRejected2012-04-18

Actions
Related to TYPO3 Core - Bug #89383: Restoring deleted content element in workspace failsClosed2019-10-09

Actions
Related to TYPO3 Core - Bug #90679: "Restore record" does not restore recordClosed2020-03-08

Actions
Related to TYPO3 Core - Bug #92056: Recycler shows workspace records in live workspaceClosed2020-08-20

Actions
Related to TYPO3 Core - Task #93121: Make workspace delete a discardClosed2020-12-20

Actions
Actions #1

Updated by Robert Heel about 15 years ago

undeleteRecord doesn't restore the t3ver_wsid and undelete the workspace version.

Actions #2

Updated by Susanne Moog over 13 years ago

  • Status changed from New to Accepted
  • Target version deleted (0)
Actions #3

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?

Actions #4

Updated by Oliver Hader over 13 years ago

  • Assignee set to Oliver Hader
Actions #5

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.

Actions #6

Updated by Tolleiv Nietsch over 13 years ago

  • Status changed from Needs Feedback to Accepted
Actions #7

Updated by Riccardo De Contardi over 11 years ago

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?

Actions #8

Updated by Michael Stucki almost 11 years ago

  • Category set to Workspaces
Actions #9

Updated by Michael Stucki almost 11 years ago

  • Project changed from 624 to TYPO3 Core
  • Category changed from Workspaces to Workspaces
Actions #10

Updated by Mathias Schreiber almost 10 years ago

  • Target version set to 7.5
Actions #11

Updated by Benni Mack about 9 years ago

  • Target version changed from 7.5 to 7 LTS
Actions #12

Updated by Mathias Schreiber about 9 years ago

  • Target version deleted (7 LTS)
Actions #13

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:

  1. Switch to a Custom Workspace
  2. Create a page
  3. Delete the page
  4. Switch to LIVE > result: the page is absent
  5. 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.

  1. Switch to a Custom Workspace
  2. Create a page
  3. Delete the page
  4. go to recycler - the page is NOT listed
  5. Switch to LIVE > result: the page is absent
  6. 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)
Actions #14

Updated by Riccardo De Contardi over 6 years ago

my last comment still applies to 9.4-dev (latest master)

Actions #15

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

Actions #16

Updated by Christian Weiske about 5 years ago

  • Related to Bug #89383: Restoring deleted content element in workspace fails added
Actions #17

Updated by Christian Kuhn over 4 years ago

  • Related to Bug #90679: "Restore record" does not restore record added
Actions #18

Updated by Christian Kuhn over 4 years ago

  • Related to Bug #92056: Recycler shows workspace records in live workspace added
Actions #19

Updated by Christian Kuhn almost 4 years ago

  • Related to Task #93121: Make workspace delete a discard added
Actions #20

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

Actions #21

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

Actions #22

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

Actions #23

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

Actions #24

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

Actions #25

Updated by Christian Kuhn almost 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #26

Updated by Benni Mack almost 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF