Module: check_mk
Branch: master
Commit: 2d060712d8063e080944671dc0d69eb8efd7ba9f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2d060712d8063e…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sun Feb 13 18:16:54 2011 +0100
Fix too many values to unpack in Multisite
---
ChangeLog | 8 ++++++--
web/plugins/views/layouts.py | 2 +-
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index d289d30..63f08d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,7 +7,7 @@
are very usefull, however...
Core, Setup, etc.:
- * check_mk_templates.cfg: add missing check_period for hosts
+ * FIX: check_mk_templates.cfg: add missing check_period for hosts
(needed for Shinken)
Checks & Agents:
@@ -17,7 +17,11 @@
* steelhead_connections: new check for Riverbed Steelhead connections
* df, df_netapp, df_netapp32, hr_fs, vms_df: all filesystem checks now support
trends. Please look at check manpage of df for details.
- * heartbeat_nodes: Fixed error handling when node is active but at least one link is
dead
+ * FIX: heartbeat_nodes: Fixed error handling when node is active but at least one
link is dead
+
+ Multisite:
+ * FIX: fix "too many values to unpack" when editing views in single layout
+ mode (such as host or service detail)
1.1.9i8:
Multisite:
diff --git a/web/plugins/views/layouts.py b/web/plugins/views/layouts.py
index 83c0ea4..135b1ed 100644
--- a/web/plugins/views/layouts.py
+++ b/web/plugins/views/layouts.py
@@ -45,7 +45,7 @@ def render_single_dataset(data, view, group_painters, painters,
num_columns):
html.write("<tr class=gap><td class=gap
colspan=%d></td></tr>\n" % (1 + num_columns))
thispart = rows[rownum:rownum + num_columns]
for p in painters:
- painter, link = p
+ painter, link = p[0:2]
html.write("<tr class=data><td
class=left>%s</td>" % painter["title"])
for row in thispart:
paint(p, row)