Werk #15508: time_period: verify time_period usages before deletion

Component REST API
Title time_period: verify time_period usages before deletion
Date Mar 20, 2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.2.0b1 2.3.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Prior to this werk, the REST API did not check whether a time period to be deleted was referenced by other objects. This caused a conflict after deletion. This werk fixes this by preventing the REST API from performing a deletion if the time period is currently being referenced.

To the list of all Werks