#89383Restoring deleted content element in workspace fails
Description
When trying to restore a deleted content element in a workspace, database gets inconsistent.
Steps to reproduce:
- Switch to custom workspace
- Create a page
- Create a content element on the page
- Delete the content element
- Open History/Undo for that page
- Restore the deleted content element
- 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.