Module: check_mk
Branch: master
Commit: 7c29c47c09565d90abe80744897d44d9a4a36d2c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7c29c47c09565d…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Feb 20 11:27:34 2017 +0100
4380 FIX Raw Edition: Fixed broken views that contain graphs
An error message "KeyError ('graph_render_options')" was displayed
on all views that are used to display graphs.
Change-Id: I12dfb43956f3d6caeee0f7c2d91856c6fa6ced65
---
.werks/4380 | 10 ++++++++++
web/plugins/views/painters.py | 2 +-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.werks/4380 b/.werks/4380
new file mode 100644
index 0000000..0ecd5ab
--- /dev/null
+++ b/.werks/4380
@@ -0,0 +1,10 @@
+Title: Raw Edition: Fixed broken views that contain graphs
+Level: 2
+Component: multisite
+Compatible: compat
+Version: 1.5.0i1
+Date: 1487586401
+Class: fix
+
+An error message "KeyError ('graph_render_options')" was displayed
+on all views that are used to display graphs.
diff --git a/web/plugins/views/painters.py b/web/plugins/views/painters.py
index 0fd1852..8c1c541 100644
--- a/web/plugins/views/painters.py
+++ b/web/plugins/views/painters.py
@@ -1061,7 +1061,7 @@ def paint_time_graph_pnp(row):
multisite_painters["svc_pnpgraph" ] = {
"title" : _("Service Graphs"),
"columns" : [ "host_name", "service_description",
"service_perf_data", "service_metrics",
"service_check_command" ],
- "options" : [ "pnp_timerange", "graph_render_options",
],
+ "options" : [ "pnp_timerange" ],
"paint" : paint_time_graph,
"printable" : "time_graph",
"params" : time_graph_params,