Skip to content
Snippets Groups Projects
Commit bb37ec08 authored by Thorben Nissen's avatar Thorben Nissen Committed by Susanne Moog
Browse files

[BUGFIX] EXT:form load yaml configurations in defined order

Changes configuration loading of yaml configurations. Orders the yaml configuration
by the numeric keys defined in TypoScript.

Resolves: #79578
Releases: master
Change-Id: Id1fe072b024ec58bf0e1867cff97d60b12ee6589
Reviewed-on: https://review.typo3.org/51494


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarTobi Kretschmann <tobi@tobishome.de>
Tested-by: default avatarTobi Kretschmann <tobi@tobishome.de>
Reviewed-by: default avatarRalf Zimmermann <ralf.zimmermann@tritum.de>
Tested-by: default avatarRalf Zimmermann <ralf.zimmermann@tritum.de>
Reviewed-by: default avatarSusanne Moog <susanne.moog@typo3.org>
Tested-by: default avatarSusanne Moog <susanne.moog@typo3.org>
parent 4485151f
Branches
Tags
No related merge requests found
......@@ -104,7 +104,7 @@ class ConfigurationManager extends ExtbaseConfigurationManager implements Config
$extensionName
);
$yamlSettingsFilePaths = isset($typoscriptSettings['yamlConfigurations'])
? $typoscriptSettings['yamlConfigurations']
? ArrayUtility::sortArrayWithIntegerKeys($typoscriptSettings['yamlConfigurations'])
: [];
$yamlSettings = InheritancesResolverService::create($this->yamlSource->load($yamlSettingsFilePaths))
->getResolvedConfiguration();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment