Fix config schema - term description should not be string, but a translatable type like text

Created on 25 September 2023, over 1 year ago
Updated 13 October 2023, about 1 year ago

Problem/Motivation

The config schema for a term has:


config_terms.config_terms_term.*:
  type: config_entity
  label: 'Config term config'
  mapping:
    id:
      type: string
      label: 'Machine name'
...
    description:
      type: string
      label: 'Description'

The description is UI text not a simple string, but should be type "text"
https://www.hojtsy.hu/files/ConfigSchemaCheatSheet2.0.pdf

Proposed resolution

change the config schema - maybe add a test of description translation

Remaining tasks

User interface changes

n/a

API changes

n/a

Data model changes

config schema change can cast data on save, but should not change any data in this case

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇺🇸United States pwolanin

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

Comments & Activities

Production build 0.71.5 2024