Werk #16769: MultipleChoice formspec: use list as default value instead of tuple

Komponente Checks & agents
Titel MultipleChoice formspec: use list as default value instead of tuple
Datum 20.06.2024
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p7 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

During the creation of certain rules with MultipleChoice formspec, the following warning appeared due to default values being saved as a list instead of a tuple: "Unable to read current options of this rule. Falling back to default values. When saving this rule now, your previous settings will be overwritten. The problem was: [...]: The datatype must be list, but is tuple."

This werk corrects this behavior by allowing the use of any Sequence of strings as values.

Zur Liste aller Werks