Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292977

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

$
0
0

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


Viewing all articles
Browse latest Browse all 292977

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>