Warning or error displayed on translations

Created on 8 June 2023, over 1 year ago

Hi, thanks for this great module, wondering if what follows is something that we could improve.
Seems to be related to #3041132: Module does not handle translated revisions or moderation state. .

Problem/Motivation

When translating content, we shouldn't display the warning or error if it doesn't apply or prevent to save.
Where
Warning = "A new unpublished revision of this content has been created ..."
Error = "A new published revision of this content has been created ..."

Steps to reproduce

Tested on a clean Drupal 10 install.
In /admin/config/system/content_moderation_edit_notify set the interval to 5" to facilitate the review.

  • Create EN source, published
  • Create FR translation, draft
  • Create DE translation, draft
  • Open the 3 in different tabs without saving any of the nodes
  • FR is showing the warning

Then

  • Save DE draft as published
  • FR is showing the error, it's still possible to save
📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇨🇭Switzerland colorfield Lausanne

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

Comments & Activities

Production build 0.71.5 2024