Branch: refs/heads/2.2.0
Home:
https://github.com/Checkmk/checkmk
Commit: 1c9ec60618543a10910dde558ff818701ec21b39
https://github.com/Checkmk/checkmk/commit/1c9ec60618543a10910dde558ff818701…
Author: Lukas Lengler <lukas.lengler(a)checkmk.com>
Date: 2024-01-10 (Wed, 10 Jan 2024)
Changed paths:
A .werks/16037
M cmk/gui/fields/definitions.py
M cmk/gui/watolib/builtin_attributes.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_folder_config.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_host_config.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_host_internal.py
Log Message:
-----------
16037 FIX folder_config/host_config: No longer accept non-existent site
You can no longer set a non-existent site on folders and hosts.
When called with a non-existent site as an attribute the
endpoints now return the status code 400.
SUP-16780
Change-Id: Iaca9acf6de0d0c9be081723c632c1afe3c8c3028