Simple config with a `langcode` element, but no translatable elements, should raise a validation error

Created on 11 April 2024, 9 months ago

Problem/Motivation

This is spun off from πŸ› Require `langcode: …` only for simple config that contains translatable values Active .

In that issue, we trigger a deprecation when validating simple config that has no translatable elements, yet still contains a langcode key. Having a langcode for non-translatable config doesn't make sense, but for historical reasons it probably exists in the wild. That's why it's deprecated.

In this issue, let's turn that deprecation to a full-fledged validation error.

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
ConfigurationΒ  β†’

Last updated 2 days ago

Created by

πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

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

Comments & Activities

Production build 0.71.5 2024