#104858SiteSettings->get() does return values for nested arrays in subproperties
Description
A setting defined via Configuration/Sets/Set1/settings.definitions.yaml that contains at least one dot in the settings key
settings:
foo.bar:
type: stringlist
default: ['a', 'b']
label: FooBar
Can not be obtained by $settings->get('foo.bar'), because array-flattening does only allow access to 'foo.bar.0' and 'foo.bar.1', but not to the array 'foo.bar'.
This is because this value is serialized as
foo:
bar:
- a
- b
The SiteSettings object should maintain an access for explicitly defined keys, and provide the values as well.
Reviews 5
- 13.4 87570[BUGFIX] Fix site settings hash calculation
- main 87557[BUGFIX] Fix site settings hash calculation
- main 86013[TASK] Enable direct access to nested settings properties in fluid
- main 86074[BUGFIX] Prevent infinite site settings cache recreation
- main 85924[BUGFIX] Fix access to array values in SiteSettings->get()