Module: check_mk
Branch: master
Commit: d0f0bb3e0e3f8bc4325d0cefbadaca7ed8118b8e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d0f0bb3e0e3f8b…
Author: Marcel Arentz <ma(a)mathias-kettner.de>
Date: Thu Oct 19 09:36:42 2017 +0200
5304 FIX mssql_backup: Fixed error if existing rule has been set before 1.5.0
In werk #4811 the ruleset for mssql_backup has been extended. Since then the
GUI would crash if a rule has been set up previously to this update. This
has been fixed now.
Change-Id: Ibe3917706d6a277430a6129d7f613fd0891159fc
---
.werks/5304 | 12 ++++++++++++
web/plugins/wato/check_parameters.py | 2 +-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/5304 b/.werks/5304
new file mode 100644
index 0000000..12fee78
--- /dev/null
+++ b/.werks/5304
@@ -0,0 +1,12 @@
+Title: mssql_backup: Fixed error if existing rule has been set before 1.5.0
+Level: 1
+Component: checks
+Compatible: compat
+Edition: cre
+Version: 1.5.0i1
+Date: 1508398316
+Class: fix
+
+In werk #4811 the ruleset for mssql_backup has been extended. Since then the
+GUI would crash if a rule has been set up previously to this update. This
+has been fixed now.
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index 9957480..c93e2be 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -9584,7 +9584,7 @@ register_check_parameters(
TextAscii(
title = _("Service descriptions"),
allow_empty = False),
- "dict",
+ "first",
)
register_check_parameters(