Editing paragraphs does not work in a Content Moderation workflow

Created on 25 January 2022, over 2 years ago
Updated 16 April 2024, 2 months ago

Problem/Motivation

When enabling the core content moderation workflow, editing paragraphs in a draft updates the latest revision of the paragraph and publishes the newly created revision.

Editors can make drafts, which is a new non-active revision of the current node. Editing Paragraphs on the current node will give us a lot of issues and all versions will be out of sync.

The desired workflow (in my opinion) to edit paragraphs in combination with Content Moderation is the following:
- Someone creates and publishes a node.
- Editor will have permission to edit the paragraphs in the Front-end. Changes are saved as a Draft. A new revision will be made, but will not be active.
- When visiting the node, no changes are visible. Content Moderation provides a local task to see the "Latest version" of the node. Editor is not able to edit the current live page via Front-end. Editor can go to /node/[nid]/latest to see the latest (non-published) revision. On that page the editor should be able to edit the paragraphs using contextual filters again. When saving, a new revision is created, but not set active.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium StijnStroobants Leuven

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024