My content status changes automatically when editing

Created on 23 May 2024, 6 months ago

I'm encountering a problem that's bothering me. I use Drupal's Workflows module and Content Moderation to manage the publication of my content.

I have defined the following statuses:
- Draft
- Pending review
- Archived
- Online (content published when a content reaches this status)

By default, when content is created (a News, for example), it is in Draft (offline) status.

I've also defined the following transitions:

| Label | From | To |
|---------------------|-------------------------------|-------------|
| Save as draft | Pending review, Archived | Draft |
| Submit for review | Draft | Pending review |
| Archive | Pending review, Online | Archived |
| Online | Pending review, Archived | Online |

I've added the State moderation field to my News creation form, so that the site manager can switch between the different statuses I've defined.

However, I'm encountering the following problem: when a news is modified, its status is automatically changed, without even having modified the State moderation field.

For example, I have a news with the status Online (i.e. published). I go to change its title, save: it's changed to Archived! But I want it to remain Online.

Could you tell me how to avoid this change?

💬 Support request
Status

Active

Version

1.9

Component

User interface

Created by

🇫🇷France arthurg

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

Comments & Activities

Production build 0.71.5 2024