Bug #52338
closedTask #49162: Rewrite install tool
Silent configuration generates endless redirect loop
100%
Description
If I have some setting in my AdditionalConfiguration like:
$GLOBALS['TYPO3_CONF_VARS']['GFX']['im_v5effects'] = '1';
this will be always overwride whatever I have in my LocalConfiguration. Now the Install Tool has a "Auto-Configuration" which will try to set this setting to "-1" (in LocalConfiguration). And after doing that, it will redirect to itself. But then the AdditionalConfiguration will override this again and the game restarts.
Result is an endless loop.
This has to be detected somehow, because the current behavior is very touchy and you end up in an endless loop very easily.
Updated by Ernesto Baschny about 11 years ago
In this case, the SilentConfigurationUpgradeService::setImageMagickDetailSettings is the one that calls for an redirect, because it always end up with a $changedValues.
Updated by Christian Kuhn about 11 years ago
This probably happens for more values.
Solution is to not access $GLOBALS['TYPO3_CONF_VARS'], but to work with ConfigurationManager getLocalConfigurationValueByPath() and getConfigurationValueByPath()
Updated by Gerrit Code Review about 11 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24140
Updated by Gerrit Code Review about 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24140
Updated by Gerrit Code Review about 11 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24140
Updated by Anja Leichsenring about 11 years ago
- Status changed from Under Review to Resolved
Applied in changeset 263060d44d779abc54d8dbe00f43a3c1af287061.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed