Problems restoring content in a Workspace

Created on 9 December 2023, about 1 year ago
Updated 15 December 2023, about 1 year ago

Problem/Motivation

Attempting to restore a deleted entity in a workspace shows blank fields in the default Content View.
Publishing the workspace says it's successful, but the restored entity is not affected.

Discovered this while working on ✨ Translation support Needs review and confirmed the issues exist on the current 3.x branch.

Steps to reproduce

  1. Set up a default site install with the standard profile.
  2. Enable Trash and Workspaces.
  3. Create a node in the Live Workspace.
  4. Delete the node.
  5. Switch to the Stage workspace.
  6. Restore the node.
  7. The content overview now looks like this:
  8. Attempt to publish the Stage workspace.
  9. The workspace gives a "successful" message, but was unable to load the node's revision and could thus not make the worspace's revision the default.

Proposed resolution

The issue with publishing may be fixable by "simply" wrapping the publishing in the "inactive" Trash context.
The empty Content View issue may be fixable by modifying the join in the query alter to look at the correct revision.

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΈπŸ‡ͺSweden twod Sweden

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024