Actions
Bug #88426
closedExtension Configuration: IDs duplicated and incorrect checkbox handling for same config key in different extensions
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
System/Bootstrap/Configuration
Target version:
-
Start date:
2019-05-23
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When saving an extension config (Settings › Extension Configuration) that consists only of checkboxes and none is checked you get a warning.
Depending on your exception settings that can trigger an exception which prevents the settings form being written.
AJAX:
/typo3/install.php?install[controller]=settings&install[context]=backend
"TYPO3_MODE":"BE","exception":"TYPO3\\CMS\\Core\\Error\\Exception: PHP Warning: Invalid argument supplied for foreach() in \/var\/www\/html\/webroot\/web\/typo3\/sysext\/install\/Classes\/Controller\/SettingsController.php line 387 in \/var\/www\/html\/webroot\/web\/typo3\/sysext\/core\/Classes\/Error\/ErrorHandler.php:116 Stack trace: #0 \/var\/www\/html\/webroot\/web\/typo3\/sysext\/install\/Classes\/Controller\/SettingsController.php(387): TYPO3\\CMS\\Core\\Error\\ErrorHandler->handleError(2, 'Invalid argumen...', '\/var\/www\/html\/w...', 387, Array) #1 \/var\/www\/html\/webroot\/web\/typo3\/sysext\/install\/Classes\/Http\/RequestHandler.php(205): TYPO3\\CMS\\Install\\Controller\\SettingsController->extensionConfigurationWriteAction(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest)) #2 \/var\/www\/html\/webroot\/web\/typo3\/sysext\/install\/Classes\/Http\/Application.php(65): TYPO3\\CMS\\Install\\Http\\RequestHandler->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest)) #3 \/var\/www\/html\/webroot\/web\/typo3\/sysext\/core\/Classes\/Http\/AbstractApplication.php(110): TYPO3\\CMS\\Install\\Http\\Application->handle(Object(TYPO3\\CMS\\Core\\Http\\ServerRequest)) #4 \/var\/www\/html\/webroot\/web\/typo3\/install.php(104): TYPO3\\CMS\\Core\\Http\\AbstractApplication->run() #5 \/var\/www\/html\/webroot\/web\/typo3\/install.php(105): {closure}() #6 {main}"
Actions