[BUGFIX] Import data from yaml imports in declaration order
For plain arrays it's sometimes important that the items appear in the order in which they are imported. For example with the languages in the sites configuration where the first language is seen as the default language. Just like with Symfony Service Container imports come first and its settings are overwritten with the main file. To make sure that multiple imports are loaded in the order as they appear in the main file they must be processed in reverse order. This behaviour can now be controlled by a new feature toggle which defaults to `false` for existing and to `true` for new installations. Resolves: #92100 Releases: master, 10.4 Change-Id: I30ffba171606f3c62c15742eba3187af454aa5b6 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65458 Tested-by:Oliver Bartsch <bo@cedev.de> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Richard Haeser <richard@richardhaeser.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Richard Haeser <richard@richardhaeser.com>
Showing
- typo3/sysext/core/Classes/Configuration/Loader/YamlFileLoader.php 4 additions, 0 deletions...sext/core/Classes/Configuration/Loader/YamlFileLoader.php
- typo3/sysext/core/Configuration/DefaultConfiguration.php 2 additions, 1 deletiontypo3/sysext/core/Configuration/DefaultConfiguration.php
- typo3/sysext/core/Configuration/DefaultConfigurationDescription.yaml 3 additions, 0 deletions...t/core/Configuration/DefaultConfigurationDescription.yaml
- typo3/sysext/core/Configuration/FactoryConfiguration.php 1 addition, 0 deletionstypo3/sysext/core/Configuration/FactoryConfiguration.php
- typo3/sysext/core/Documentation/Changelog/10.4.x/Important-92100-YAMLImportsFollowDeclarationOrder.rst 43 additions, 0 deletions...4.x/Important-92100-YAMLImportsFollowDeclarationOrder.rst
- typo3/sysext/core/Tests/Unit/Configuration/Loader/YamlFileLoaderTest.php 56 additions, 0 deletions...re/Tests/Unit/Configuration/Loader/YamlFileLoaderTest.php
Please register or sign in to comment