Bug #82304
closedConfigurationManager::writeLocalConfiguration breaks log writer configuration
100%
Description
Method \TYPO3\CMS\Core\Configuration\ConfigurationManager::writeLocalConfiguration()
cleans up $TYPO3_CONF_VARS
before writing to typo3conf/LocalConfiguration.php
. It uses the cleanup method ArrayUtility::renumberKeysToAvoidLeapsIfKeysAreAllNumeric()
which rewrites the indices of numerically indexed arrays.
This cleanup breaks $TYPO3_CONF_VARS['LOG']['writerConfiguration']
because the configuration uses log level constants which represent integers (see class \TYPO3\CMS\Core\Log\LogLevel
) as indices.
Either exceptions for those cleanups must be configurable or (better) this optimization attempt should be dropped at all.
Updated by Oliver Hader about 7 years ago
Does this only occur in master or in stable releases as well?
Updated by Thorsten Kahler about 7 years ago
The optimization attempt was already introduced in version 6.1 and backported to 6.0, see change c1d929d5.
Updated by Thorsten Kahler about 7 years ago
- Related to Bug #44938: LocalConfiguration extListArray adds keys if extension is uninstalled added
Updated by Gerrit Code Review over 6 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55936
Updated by Gerrit Code Review over 6 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55943
Updated by Gerrit Code Review over 6 years ago
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55944
Updated by Helmut Hummel over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset fd28147d96f8f1edac01619edc0aca47a48fb353.