Werk #15663: Single-metric dashlets: Fix crash when setting fixed data range in time units

Komponente Metrics system
Titel Single-metric dashlets: Fix crash when setting fixed data range in time units
Datum 28.04.2023
Checkmk Edition Checkmk Enterprise (CEE)
Checkmk-Version 2.1.0p27 2.2.0b6 2.3.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

When attempting to configure Data range > Fixed range in time units (Timespan or Duration in seconds) for single-metric dashlets such as gauges, the default value (100 s) lead to a crash when saving:

The parameter "type_p_display_range_0_3_0_days" is not an integer.

Users could still fill in integer values manually and successfully save the dashlet configuration. As of this werk, also the default value can be saved without an error message.

Zur Liste aller Werks