Werk #16366: rule: Fix crash on rule creation via REST API without conditions or properties

Komponente REST API
Titel rule: Fix crash on rule creation via REST API without conditions or properties
Datum 09.02.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.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p22 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Before this Werk, an status code 500 Internal Server Error was returned when creating a rule without conditions or properties. This Werk fixes it and now it is possible to create a rule in such conditions.

Zur Liste aller Werks