[Bug] SystemSetting not saving the settings for FieldConfig::TYPE_ARRAY if all options are unselected #22877
Closed
4 tasks done
Labels
Potential Bug
Something that might be a bug, but needs validation and confirmation it can be reproduced.
triaged
Milestone
What happened?
We recently created a new
SystemSetting
calledanonymizeClickIds
for AdvertisingConversionExport plugin, below is the code to create the system setting.This shows the setting correctly
But there is one error, if you unselect all the options and try to save the setting, the setting shows as saved successfully, but it reverts back to the last saved setting.
What should happen?
We should be able to save the setting, with all the options as unselected.
How can this be reproduced?
AdvertisingConversionExport
plugin.Anonymise Click IDs
settings and press saveMatomo version
5.2.0
PHP version
8.3
Server operating system
Linux
What browsers are you seeing the problem on?
No response
Computer operating system
Ubuntu 22.04
Relevant log output
No response
Validations
The text was updated successfully, but these errors were encountered: