Module: check_mk
Branch: master
Commit: af3da700c015d17c51a545925bc0de8b7f8bcced
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=af3da700c015d1…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Wed Aug 1 17:52:49 2018 +0200
Fix crash when cloning Event Console rules
Change-Id: Ib7563704f16e7abd0478eb8dc69aeb8512b7c940
---
cmk/gui/plugins/wato/mkeventd.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmk/gui/plugins/wato/mkeventd.py b/cmk/gui/plugins/wato/mkeventd.py
index 9acc697..802a370 100644
--- a/cmk/gui/plugins/wato/mkeventd.py
+++ b/cmk/gui/plugins/wato/mkeventd.py
@@ -1957,7 +1957,7 @@ class ModeEventConsoleEditRule(EventConsoleMode):
for r in pack["rules"]:
if r["id"] == self._rule["id"]:
error_text = _("A rule with this ID already exists in rule
pack <b>%s</b>.") % pack["title"]
- raise MKUserError("rule_p_id",
html.render_text(error_text))
+ raise MKUserError("rule_p_id", error_text)
try:
num_groups = re.compile(self._rule["match"]).groups