Branch: refs/heads/2.2.0
Home:
https://github.com/Checkmk/checkmk
Commit: 5ba30852a681e93f0f34bc430d70e4b231c2750c
https://github.com/Checkmk/checkmk/commit/5ba30852a681e93f0f34bc430d70e4b23…
Author: Leonardo Petrora <leonardo.petrora(a)checkmk.com>
Date: 2024-02-09 (Fri, 09 Feb 2024)
Changed paths:
A .werks/16366
M cmk/gui/plugins/openapi/endpoints/rule/__init__.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_rules.py
Log Message:
-----------
16366 FIX rule: Fix crash on rule creation via REST API without conditions or
properties
Before this Werk, an status code 500 Internal Server Error was returned when creating a
rule without conditions or properties. This Werk fixes it and now it is possible to
create
a rule in such conditions.
CMK-15846
Change-Id: I51bf6b3f73649d0fa8025fd5bae4defdb1d68285