Dropdown list displays languages for the not published content translations

Created on 8 February 2024, about 1 year ago
Updated 13 February 2024, about 1 year ago

Problem/Motivation

The dropdown list displays languages for the not published content translations.

Steps to reproduce

1. Install and enable module.
2. Create a node.
3. Translate the node and set the translation as unpublished.
4. Check the language dropdown. There is available the language of unpublished translation.

Proposed resolution

Add additional check $translation->isPublished()
to the getEntitiesAndTranslations method.

πŸ› Bug report
Status

Postponed: needs info

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine v.dovhaliuk

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

Comments & Activities

Production build 0.71.5 2024