Revision log states "Used the Moderation Sidebar to change the state to "Draft"" instead of the written log message when using moderation sidebar to update page status.

Created on 12 September 2024, 16 days ago

Problem/Motivation

I am using a separate module, ECA, to track page status changes and send emails to site contributors when a page status changes from published to something else. I have mandated revision log entries. When a user goes to the "edit" view of the page content and updates the page status from there, the revision log statement is included in the email. However, when a user uses the content moderation sidebar to update the page status, the revision log statement is not included in the email and in its place is Used the Moderation Sidebar to change the state to "Draft" (or Archived, Published, etc...)

Steps to reproduce

1. Change page status using the "Edit" view of a page and include a statement in the revision log.
2. Change page status using the content moderation sidebar with a statement in the revision log.
3. Check the "Revisions" view of the page content. The revision log statement will be present for #1 but for #2 it will read "Used the Moderation Sidebar to change the state to "Draft"."

Proposed resolution

- Have the default statement of "Used the Moderation Sidebar to change the state to "Draft"" overwritten with the revision log statement when there is one

Remaining tasks

- Identify what is causing this issue
- Resolve it

User interface changes

none expected

API changes

none expected

Data model changes

none expected

🐛 Bug report
Status

Active

Version

1.8

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024