Issue Bug Closed

#106894Site settings do not support storage of subkeys, if the dot-seprated setting exists as a key.

Benjamin Franzke 06/17/25, 07:07 updated 08/12/25, 14:35

Description

Arbitrary keys like `foo.bar` and `foo.bar.baz` exclude each other, since they can not be expressed as a yaml tree.

Given the following settings.definitions.yaml

settings:
  foo.bar:
    type: string
    default: ''
    label: FooBar
  foo.bar.baz:
    type: string
    default: ''
    label: FooBarBaz
</code>

There is no way to store both in settings.yaml:

foo:
  bar: 'value'

foo:
  # overwrites the assignment to `foo.bar`
  bar:
    baz: 'value'

Note: TypoScript constants allowed this, since TypoScript can store value and childrens per node (since it represents the children with a dot attached)

Reviews 7