Moderation state is the same for all node's translations in edit page

Created on 13 December 2018, over 5 years ago
Updated 3 March 2023, over 1 year ago

Problem/Motivation

I translated two nodes, when I change the state to draft the revision is being created correctly, but when I tried to edit the other translation of the same node, I saw that the translation has the same moderation state even if I haven't edited this translation.

Steps to reproduce it:

1. Create two or more nodes
2. Install content_moderation and workflows
3. Install config_translation, content_translation and locale
4. Add either a custom or default language, in my case I added en-mx and es-mx.
5. Go to language content settings page and check all the content types
6. Go to workflow settings page and apply the default workflow to all the content types
7. Go to content and translate one of the nodes
8. Edit one of the translations, in my case I change the state to draft in the es-mx node.
9. Go to en-mx and you will see the draft state even if this translation was not edited.

Proposed resolution

In order to solve my issue I added a condition to find the correct revision by language, it's working on my end but I would like to know if someone is having the same issue.

Remaining tasks

None.

User interface changes

Fixed states for languages in the translation edit section.

API changes

None.

Data model changes

None.

Release notes snippet

πŸ› Bug report
Status

Fixed

Version

8.9 ⚰️

Component
Content moderationΒ  β†’

Last updated about 5 hours ago

  • Maintained by
  • πŸ‡¦πŸ‡ΊAustralia @Sam152
Created by

πŸ‡²πŸ‡½Mexico luisnicg

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