Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 895faa42e8a80fe1da8576795a89394e0b7041b5
https://github.com/Checkmk/checkmk/commit/895faa42e8a80fe1da8576795a89394e0…
Author: Leonardo Petrora <leonardo.petrora(a)checkmk.com>
Date: 2024-02-09 (Fri, 09 Feb 2024)
Changed paths:
A .werks/16366.md
M cmk/gui/openapi/endpoints/rule/__init__.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/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: I2e33b7cf490157c682e5b0d7d4e68a62e44401d0