Werk #16874: host_config: skip host parent validation on host return

Component REST API
Title host_config: skip host parent validation on host return
Date May 14, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p27 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Prior to this werk, the REST API always validated if a specified host parent is an existing host. This validation behavior differs to the mechanism of the UI where it is possible that a host has non existing hosts as parent. This werk modifies the behaviour of the REST API to skip the host existence validation when a host is returned.

To the list of all Werks