Module: check_mk
Branch: master
Commit: 951cb9b1e24dd551361d32758aabc2da3fd73fc9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=951cb9b1e24dd5…
Author: Marcel Arentz <ma(a)mathias-kettner.de>
Date: Wed Mar 29 16:29:04 2017 +0200
4552 FIX win_dhcp_pools: Fixed conversion of old type of rules (1.2.6) to new type
(1.2.8)
If rules for this checkplugin have been set up in 1.2.6 the GUI crashed in
1.2.8 if someone wanted to modify these rules.
Change-Id: I36eeb89f566d564dc51bfd0ce8cdeefebec12cab
---
.werks/4552 | 11 +++++++++++
web/plugins/wato/check_parameters.py | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/4552 b/.werks/4552
new file mode 100644
index 0000000..35f827c
--- /dev/null
+++ b/.werks/4552
@@ -0,0 +1,11 @@
+Title: win_dhcp_pools: Fixed conversion of old type of rules (1.2.6) to new type (1.2.8)
+Level: 1
+Component: checks
+Compatible: compat
+Edition: cre
+Version: 1.5.0i1
+Date: 1490797569
+Class: fix
+
+If rules for this checkplugin have been set up in 1.2.6 the GUI crashed in
+1.2.8 if someone wanted to modify these rules.
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index 9c7ff91..7ad5521 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -9974,7 +9974,7 @@ register_check_parameters(
title = _("Pool name"),
allow_empty = False,
),
- match_type = "dict",
+ match_type = "first",
)
register_check_parameters(