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

Media entity translations do not adhere to status (published/unpublished)

$
0
0

Problem/Motivation

When you have a translated Media entity, for example file and when you change status of a translated media entity the status does not change.

Update:
It works via the "content_translation" status checkbox (location in it's own section in html) but I do find this quite odd. Node and taxonomy and other don't work like that. So for UX I would definitely streamline this.

Question remains, because the tests that fail look for this content_translation_status field, if this is indeed okay?!

Steps to reproduce

  1. For a media entity type set translated to true
  2. Translate a media entity so you have 2 languages for an entity
  3. Change Status on one entity and see that it does not reflect your changes (it does work with VBO though)

Proposed resolution

Add a translation handler to Media like on Node, Taxonomy, ....

Remaining tasks

Review patch where I've added the translation handler.

Release notes snippet

Media entity translations adhere to status


Viewing all articles
Browse latest Browse all 291866

Trending Articles