Module: check_mk
Branch: master
Commit: c403aa2f0a88b409a9786670cb7b33fb53c45055
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c403aa2f0a88b4…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Fri Nov 18 14:01:10 2016 +0100
3991 FIX BI Aggregations: no longer show duplicate aggregations when an aggregation has
mulitple groups
---
.werks/3991 | 10 ++++++++++
ChangeLog | 3 +++
web/htdocs/bi.py | 2 +-
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/.werks/3991 b/.werks/3991
new file mode 100644
index 0000000..aaf2cc3
--- /dev/null
+++ b/.werks/3991
@@ -0,0 +1,10 @@
+Title: BI Aggregations: no longer show duplicate aggregations when an aggregation has
mulitple groups
+Level: 1
+Component: bi
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i3
+Date: 1479474003
+
+
diff --git a/ChangeLog b/ChangeLog
index 74c8146..2e755e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -39,6 +39,9 @@
Notifications:
* 4042 FIX: Fix missing From address in synchronous SMTP notifications...
+ BI:
+ * 3991 FIX: BI Aggregations: no longer show duplicate aggregations when an
aggregation has mulitple groups
+
Livestatus:
* 3651 FIX: Fixed potential segfault with Nagios core when accessing log/commands
table via Livestatus....
diff --git a/web/htdocs/bi.py b/web/htdocs/bi.py
index 29cc55d..45d938e 100644
--- a/web/htdocs/bi.py
+++ b/web/htdocs/bi.py
@@ -360,7 +360,7 @@ def compile_forest(user, only_hosts = None, only_groups = None):
continue # the group has already been compiled completely
if group not in cache['forest']:
- cache['forest'][group] = new_entries
+ cache['forest'][group] = new_entries[:]
else:
cache['forest'][group] += new_entries