Module: check_mk
Branch: master
Commit: 5cafd417ca5f07c1a8f2fcd181915c730efc2c5d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5cafd417ca5f07…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Dec 20 11:04:14 2016 +0100
4004 FIX Fixed exception when viewing availability of BI aggregations
This fix simply makes an already existing hack less horribly broken...
Change-Id: Ibf1a36c6c033eb45b16daae6cf6ce1477f526c6d
---
.werks/4004 | 9 +++++++++
ChangeLog | 1 +
web/htdocs/views.py | 2 +-
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.werks/4004 b/.werks/4004
new file mode 100644
index 0000000..dbbb6ec
--- /dev/null
+++ b/.werks/4004
@@ -0,0 +1,9 @@
+Title: Fixed exception when viewing availability of BI aggregations
+Level: 1
+Component: multisite
+Compatible: compat
+Version: 1.4.0i4
+Date: 1482228061
+Class: fix
+
+This fix simply makes an already existing hack less horribly broken...
diff --git a/ChangeLog b/ChangeLog
index 951b023..6bd394c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,7 @@
Multisite:
* 4169 View action: Default values of sticky, notification and persistent options can
now be configured via global settings....
* 4143 FIX: Fixed possible log spam "MKAuthException: Invalid credentials"
in web.log...
+ * 4004 FIX: Fixed exception when viewing availability of BI aggregations...
WATO:
* 4142 New extended search dialog for rulesets and rules...
diff --git a/web/htdocs/views.py b/web/htdocs/views.py
index dc69805..f6ceeb8 100644
--- a/web/htdocs/views.py
+++ b/web/htdocs/views.py
@@ -1666,7 +1666,7 @@ def get_needed_regular_columns(cells, sorters, datasource):
# BI availability needs aggr_tree
# TODO: wtf? a full reset of the list? Move this far away to a special place!
if html.var("mode") == "availability" and "aggr" in
datasource["infos"]:
- return [ "aggr_tree", "aggr_name", "aggr_group" ],
[]
+ return [ "aggr_tree", "aggr_name", "aggr_group" ]
columns = columns_of_cells(cells)