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

Created on 4 July 2023, over 1 year ago
Updated 5 July 2024, 6 months ago

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

πŸ› Bug report
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component
MediaΒ  β†’

Last updated 4 days ago

Created by

πŸ‡§πŸ‡ͺBelgium mschudders

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024