Both 'Published' and 'This translation is published' checkboxes need to be off to unpublish a translation

Created on 29 December 2023, 12 months ago

Problem/Motivation

If an ECK entity type has the Published field enabled and it's translatable, two publishing related checkboxes are present on entity forms: 'Published' and 'This translation is published'. If you want to unpublish an entity, you have to unselect both checkboxes. If you only unselect the 'Published' checkbox, nothing happens and the checkbox is again checked when revisiting the entity form. To make things worse, the second checkbox is hidden in a collapsed details field group.

Proposed resolution

The node module prevents this problem by hiding the status & created fields from the translation section, since node types already provide those fields by default. ECK should do the same, but only if those fields are enabled for the entity type.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024