Module: check_mk
Branch: master
Commit: 02f5dd0eb3ca7b64beb12761880bea3aeafdb1bf
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=02f5dd0eb3ca7b…
Author: Goetz Golla <gg(a)mathias-kettner.de>
Date: Wed Nov 5 21:40:59 2014 +0100
Updated bug entries #1008
---
.bugs/1008 | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/.bugs/1008 b/.bugs/1008
new file mode 100644
index 0000000..0496e6e
--- /dev/null
+++ b/.bugs/1008
@@ -0,0 +1,36 @@
+Title: dashboards: dashboard of a single hostgroup cannot be edited
+Component: multisite
+State: open
+Date: 2014-11-05 21:35:53
+Targetversion: future
+Class: bug
+
+after creating a dashboard for a single hostgroup, saving it and editing it
+again, the following traceback occurs at the and and the dashboard cannot
+be saved anymore:
+
+Host....................................................................................................
+
+
+'<_mp_4b5390f655da935e047f992c2528b461.FilterGroupCombo instance at
0x7f978d509518>, hostgroup'
+
+Internal error: 'unicode' object has no attribute 'get'
+
+Traceback (most recent call last):
+ File "/omd/sites/heute/share/check_mk/web/htdocs/index.py", line 241, in
handler
+ handler()
+ File "/omd/sites/heute/share/check_mk/web/htdocs/dashboard.py", line 650, in
page_edit_dashboard
+ custom_field_handler = custom_field_handler
+ File "/omd/sites/heute/share/check_mk/web/htdocs/visuals.py", line 723, in
page_edit_visual
+ render_context_specs(visual, context_specs)
+ File "/omd/sites/heute/share/check_mk/web/htdocs/visuals.py", line 496, in
render_context_specs
+ spec.render_input(ident, value)
+ File "/omd/sites/heute/share/check_mk/web/htdocs/valuespec.py", line 981, in
render_input
+ render_content()
+ File "/omd/sites/heute/share/check_mk/web/htdocs/valuespec.py", line 968, in
render_content
+ vs.render_input(prefix, value.get(ident))
+ File "/omd/sites/heute/share/check_mk/web/htdocs/visuals.py", line 1034, in
render_input
+ self._filter.set_value(value)
+ File "/omd/sites/heute/share/check_mk/web/htdocs/visuals.py", line 854, in
set_value
+ html.set_var(varname, value.get(varname))
+AttributeError: 'unicode' object has no attribute 'get'