Werk #17334: Catch invalid "Explicit hosts" condition on save instead of crashing

Komponente Setup
Titel Catch invalid "Explicit hosts" condition on save instead of crashing
Datum 28.10.2024
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p20 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When invalid host names were passed into the "Explicit hosts" condition while creating or editing a rule, Checkmk would crash with the message `Internal error: Invalid hostaddress: '{explicit hosts condition}'.

With this werk, the form will warn you that you have entered an invalid Explicit hosts condition. This allows you to fix the error without losing the rest of the entered inputs.

Zur Liste aller Werks