Wrong indication of translatability for translatable column_groups in FieldType annotation

Created on 7 July 2017, almost 8 years ago
Updated 6 June 2025, 1 day ago

When editing content the label "All languages" appears for a translatable field.

Steps to reproduce:

Create a custom FieldType with 2 fields and set translatable to TRUE for item 1 and FALSE to item 2:

 *   column_groups = {
 *     "size" = {
 *       "label" = @Translation("Size"),
 *       "translatable" = FALSE
 *     },
 *     "text" = {
 *       "label" = @Translation("Text"),
 *       "translatable" = TRUE
 *     },

Configure a new field and set ''Users may translate this field" to TRUE and set "Translatable elements" for "Size" to FALSE and "Text" to TRUE.

When editing content the label "All languages" appears for both "Size" (where it schouldn't) and "Text".

πŸ› Bug report
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component

field system

Created by

πŸ‡§πŸ‡ͺBelgium mpp

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.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    This came up as daily BSI target.

    Since it's kinda already been triaged I'm going to move to PMNMI because no one else seems to be reporting it since 2017 is this still an issue in D11?

Production build 0.71.5 2024