Issue Bug Closed

#89383Restoring deleted content element in workspace fails

Christian Weiske 10/09/19, 15:04 updated 12/22/20, 11:08

Description

When trying to restore a deleted content element in a workspace, database gets inconsistent.

Steps to reproduce:

  1. Switch to custom workspace
  2. Create a page
  3. Create a content element on the page
  4. Delete the content element
  5. Open History/Undo for that page
  6. Restore the deleted content element
  7. Look at the page: The element is not visible

In database we have two records:

  • “INITIAL PLACEHOLDER”: It has “deleted=0” after restoring
  • “First draft version”: It has “deleted=1” after restoring

Before restoring, both had deleted=1.

Reviews 1