Content language and translation fields are hidden (display: none;) after save

Created on 12 March 2024, 9 months ago
Updated 27 March 2024, 9 months ago

Problem/Motivation

I honestly can't imagine I'm the first one reporting this issue, that seems to appear since some minor versions of Drupal 10, so I'm keeping it short for now. Still I couldn't find a fitting issue yet and the issue persists:

At Content language and translation (/admin/config/regional/content-language)

  1. Check an entity type, for example "Content"
  2. Select the checkbox for "Translatable", for example "Article"
  3. Now the translatable fields checkboxes appear selected
  4. Uncheck any of the fields (you don't want to translate) and save the page
  5. After reloading the page, the list of fields below this entity type is hidden with display: none; and you can't edit your previous selection.

I was able to reproduce this in latest Drupal Vanilla 10 installations, for example this can also be reproduced at https://simplytest.me/

Workaround: Disable JavaScript to see the fields and be able to edit them like before the save.

Steps to reproduce

See above!

Proposed resolution

Show the fields below the entity type, if the Translatable checkbox is checked - just like it worked before. Regression?

Remaining tasks

User interface changes

API changes

None

Data model changes

None

Release notes snippet

🐛 Bug report
Status

Fixed

Version

10.2

Component
Content translation 

Last updated 2 days ago

No maintainer
Created by

🇩🇪Germany Anybody Porta Westfalica

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

Comments & Activities

Production build 0.71.5 2024