Module: check_mk
Branch: master
Commit: 45a9614cfaee3e89d8b93f750ac8f143cbcf2469
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=45a9614cfaee3e…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Jul 2 13:56:06 2012 +0200
Updated bug entries #0781
---
.bugs/781 | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/.bugs/781 b/.bugs/781
new file mode 100644
index 0000000..efd7c29
--- /dev/null
+++ b/.bugs/781
@@ -0,0 +1,22 @@
+Title: Setting default_language = "de" in multisite.mk breaks all
+Component: multisite
+State: open
+Date: 2012-07-02 13:55:03
+Targetversion: 1.2.0
+Class: bug
+
+Try: set default_language = "de" in multisite.mk. But do not
+provide a language file. The result is an exception:
+
+Internal error None (/de) 13:54
+index.py?debug=1
+Internal error:: global name 'config' is not defined
+
+Traceback (most recent call last):
+ File "/omd/sites/opf/share/check_mk/web/htdocs/index.py", line 272, in handler
+ load_language(html.var("lang", config.get_language()))
+ File "/omd/sites/opf/share/check_mk/web/htdocs/lib.py", line 197, in load_language
+ __builtin__.current_language = config.default_language
+NameError: global name 'config' is not defined
+
+[URL to this frame] [URL to this page including sidebar]