[BUGFIX] Use configuration context for placeholders in YAML import
The placeholder replacement in the yaml import method must receive the current configuration context to be able to replace placeholders with values that are already configured instead of the subvalues of the import statement. Resolves: #92956 Releases: main, 11.5 Change-Id: I4766bf1e6d268bb4c1bdd24e638c9b5056e600b8 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74764 Tested-by:core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
Showing
- typo3/sysext/core/Classes/Configuration/Loader/YamlFileLoader.php 1 addition, 1 deletion...sext/core/Classes/Configuration/Loader/YamlFileLoader.php
- typo3/sysext/core/Tests/Unit/Configuration/Loader/Fixtures/Placeholder/Berta.yml 5 additions, 0 deletions.../Unit/Configuration/Loader/Fixtures/Placeholder/Berta.yml
- typo3/sysext/core/Tests/Unit/Configuration/Loader/Fixtures/Placeholder/Foo.yml 1 addition, 0 deletions...ts/Unit/Configuration/Loader/Fixtures/Placeholder/Foo.yml
- typo3/sysext/core/Tests/Unit/Configuration/Loader/YamlFileLoaderTest.php 19 additions, 0 deletions...re/Tests/Unit/Configuration/Loader/YamlFileLoaderTest.php
Please register or sign in to comment