Werk #15983: time_period: verify time_period usage before deletion and fix the reference for time_periods being saved to the configuration file in exclude field.

Komponente REST API
Titel time_period: verify time_period usage before deletion and fix the reference for time_periods being saved to the configuration file in exclude field.
Datum 02.08.2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.1.0p33 2.2.0p8 2.3.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

Prior to this werk, the REST API did not correctly check if a time period to be deleted was being referenced by another object. This werk fixes this and prevents the REST API from deleting a time period that is currently being referenced.

Also, prior to this werk, the REST API was incorrectly storing the reference to other time periods in the exlusion field. This werk fixes this and now the REST API stores the correct values in the configuration files.

Zur Liste aller Werks