#98081ExtensionConfiguration API
Description
Hello,
the ExtensionConfiguration is not written correctly in v11 when using the API.
If I use this example
$extensionConfiguration = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Configuration\ExtensionConfiguration::class);
$extensionConfiguration->set('myext', 'myvar', 'myvalue');
The result in the LocalConfiguration is wrong and even the installtool stops working.
The result looks like:
...
'EXTENSIONS' => [
'myext' => 'myvar'
],
...
This however works as intended
$extensionConfiguration = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Configuration\ExtensionConfiguration::class);
$GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['myext']['myvar'] = 'myvalue';
$extensionConfiguration->setAll($GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']);
The result looks like:
...
'EXTENSIONS' => [
'myext' => [
'myvar' => 'myvalue'
],
],
...Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.