Bug #95111
closed"Feature Toggles" with file OPcaching disabled doesn't work
100%
Description
"Feature Toggles", in "ADMIN TOOLS>Settings" module, has saving problems, if file OPcaching is disabled (opcache.file_update_protection=0).
The "typo3conf/LocalConfiguration.php" file is not updated correctly.
This problem was already reported #59662
The "featuresSave" action, in the "Settings" controller for "install" system extension, loops over all available features and creates/saves LocalConfiguration file for each feature.
If OPcache is enabled and file caching is disabled, each save overwrites the previous one, but with initial features configuration values.
My opinion
"featuresSave" action should save LocalConfiguration file atomically, as "Configure Installation-Wide Options" does via "ConfigurationManager::setLocalConfigurationValuesByPathValuePairs()"
PS: I have selected TYPO3 v11, but the problem also exists in TYPO3 v9 and v10
Updated by Davide Alghi about 3 years ago
I added my proposal to fix this
Updated by Georg Ringer about 3 years ago
- Related to Bug #59662: Problem with subsequent calls to $configurationManager->setLocalConfigurationValueByPath and 'LocalConfiguration invalid' added
Updated by Simon Schaufelberger about 3 years ago
- Related to Task #95112: Featuretoggles added
Updated by Gerrit Code Review about 3 years ago
- Status changed from New to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70896
Updated by Gerrit Code Review about 3 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70896
Updated by Gerrit Code Review about 3 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70896
Updated by Gerrit Code Review about 3 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70896
Updated by Anonymous about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c47cd42adcbabdc744e26f64eda7f06d7c3af8dd.