Issue Bug Rejected

#53417ConfigurationManager->getConfigurationValueByPath() ignores AdditionalConfiguration.php

Viktor Livakivskyi 11/07/13, 17:50 updated 03/24/15, 15:23

Description

Hi.

Recently I’ve discovered an issue in ConfigurationManager. If I override something in AdditionalConfiguration.php, e.g. $GLOBALS['TYPO3_CONF_VARS']['BE']['compressionLevel'] = 4;, while in my LocalConfiguration.php I have this value set to 5, I’ll get 4 in Install Tool, but following code will return 5:

$cm = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Configuration\\ConfigurationManager');
return $cm->getLocalConfigurationValueByPath('BE/compressionLevel');

Same result will be for ConfigurationManager->getConfigurationValueByPath(), which is used by Extension Manager and therefore I’m not able to override $GLOBALS[‘TYPO3_CONF_VARS’][‘EXT’][‘extConf’] for any extension, which makes it impossible to have different configurations for dev-stage-live environments.

Reviews 1