Module: check_mk
Branch: master
Commit: f856e6f53599acb0192a6a63b24a17f188862bd8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f856e6f53599ac…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Dec 16 15:51:05 2014 +0100
#1784 FIX Fix exception in BI Boxes when parents are being used
---
.werks/1784 | 10 ++++++++++
ChangeLog | 3 +++
web/htdocs/bi.py | 2 +-
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/.werks/1784 b/.werks/1784
new file mode 100644
index 0000000..a0f1372
--- /dev/null
+++ b/.werks/1784
@@ -0,0 +1,10 @@
+Title: Fix exception in BI Boxes when parents are being used
+Level: 1
+Component: bi
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i1
+Date: 1418741446
+
+
diff --git a/ChangeLog b/ChangeLog
index 1b845e1..112a8e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -32,6 +32,9 @@
* 1664 FIX: mknotifyd: further performance improvements for notification forwarding
* 1205 FIX: RBN: Fixed match contactgroup condition...
+ BI:
+ * 1784 FIX: Fix exception in BI Boxes when parents are being used
+
1.2.6b1:
Core & Setup:
diff --git a/web/htdocs/bi.py b/web/htdocs/bi.py
index 753a76a..12f5f51 100644
--- a/web/htdocs/bi.py
+++ b/web/htdocs/bi.py
@@ -1217,7 +1217,7 @@ def get_status_info_filtered(filter_header, only_sites, limit,
add_columns, fetc
if fetch_parents:
parent_filter = []
for row in data:
- parent_filter += [ 'Filter: name = %s\n' % p for p in row[5] ]
+ parent_filter += [ 'Filter: name = %s\n' % p for p in row[7] ]
parent_filter_txt = ''.join(parent_filter)
parent_filter_txt += 'Or: %d\n' % len(parent_filter)
for row in get_status_info_filtered(filter_header, only_sites, limit,
add_columns, False):