Module: check_mk
Branch: master
Commit: c0e29f13e798e15d0ee33b0d9dca68547417c812
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c0e29f13e798e1…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Jan 30 09:36:02 2015 +0100
#1922 FIX Fix exception in saving of hosttags if hosttag has at least one auxiliary tag
---
.werks/1922 | 10 ++++++++++
ChangeLog | 1 +
web/htdocs/wato.py | 4 ++--
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/.werks/1922 b/.werks/1922
new file mode 100644
index 0000000..225d696
--- /dev/null
+++ b/.werks/1922
@@ -0,0 +1,10 @@
+Title: Fix exception in saving of hosttags if hosttag has at least one auxiliary tag
+Level: 2
+Component: wato
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i1
+Date: 1422606938
+
+
diff --git a/ChangeLog b/ChangeLog
index e3f5ea9..6519cb6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -166,6 +166,7 @@
* 1212 FIX: Fixed default value in wato parameter page for timeperiods...
* 1816 FIX: Fixed garbled output on "rename host" result page
* 1879 FIX: Not showing "only show permitted hosts/services" option for
users not having "see all" permissions...
+ * 1922 FIX: Fix exception in saving of hosttags if hosttag has at least one auxiliary
tag
Notifications:
* 1662 notification plugin spectrum: finalized script. now able to handle host
notications
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index f97e830..7c74f62 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -13297,8 +13297,8 @@ def export_hosttags(hosttags, auxtags):
hosttags_dict = {}
for id, title, choices in hosttags:
tags = {}
- for tag_id, tag_title, auxtags in choices:
- tags[tag_id] = tag_title, auxtags
+ for tag_id, tag_title, tag_auxtags in choices:
+ tags[tag_id] = tag_title, tag_auxtags
topic, title = parse_hosttag_title(title)
hosttags_dict[id] = topic, title, tags
auxtags_dict = dict(auxtags)