Werk #13931: wrong labels not raising errors in the REST API

Komponente REST API
Titel wrong labels not raising errors in the REST API
Datum 02.05.2022
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0b8 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p26 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Previously when trying to set an invalid "labels" value when creating or updating a host through the REST API, the error did not occur and a 200 OK response would be returned. The value would not be set though.

This werk fixes this problem.

Zur Liste aller Werks