Module: check_mk
Branch: master
Commit: 7466ee8b8038b1e3ec35e6f4cd1fe4be8b9f4967
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7466ee8b8038b1…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Mar 5 13:19:36 2018 +0100
5884 FIX Fixed host tag removal confirm dialog (1.5 regression)
Change-Id: I7229d0cd23a54a21a361399858933e46185bdae4
---
.werks/5883 | 3 ++-
.werks/5884 | 10 ++++++++++
web/htdocs/wato.py | 2 +-
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/.werks/5883 b/.werks/5883
index 6289fb4..a559c89 100644
--- a/.werks/5883
+++ b/.werks/5883
@@ -7,4 +7,5 @@ Version: 1.5.0i4
Date: 1520251998
Class: fix
-
+The customized agent tag group was handled as internal tag group. For this reason
+the user could not "uncustomize" it.
diff --git a/.werks/5884 b/.werks/5884
new file mode 100644
index 0000000..a7db028
--- /dev/null
+++ b/.werks/5884
@@ -0,0 +1,10 @@
+Title: Fixed host tag removal confirm dialog (1.5 regression)
+Level: 1
+Component: wato
+Compatible: compat
+Edition: cre
+Version: 1.5.0i4
+Date: 1520252363
+Class: fix
+
+
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 47e29c4..b0bb1a0 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -11819,7 +11819,7 @@ class ModeHostTags(WatoMode, watolib.HosttagsConfiguration):
del_id = html.var("_delete")
if del_id:
operations = None
- for e in self.tag_groups:
+ for e in self._hosttags:
if e[0] == del_id:
# In case of tag group deletion, the operations is a pair of tag_id
# and list of choice-ids.