Module: check_mk
Branch: master
Commit: 3d433c095126fa1c2ce95a59564bf17e4dfd6622
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3d433c095126fa…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jul 22 17:05:32 2013 +0200
FIX: fix logwatch pattern analyzer after direct access to the page
---
ChangeLog | 3 ++-
web/htdocs/wato.py | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 3232296..d38b6d2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -274,7 +274,8 @@
* FIX: avoid exception when called first time and first page ist host tags
* FIX: fix validation of time-of-day input field (24:00)
* FIX: automation users can now be deleted again (bug was introduced in 1.2.2p1)
-
+ * FIX: fix logwatch pattern analyzer message "The host xyz is not
+ managed by WATO." after direct access via snapin
1.2.2p2:
Core:
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index f35d554..ebdae6d 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -11841,6 +11841,7 @@ def mode_pattern_editor(phase):
html.text_input('match', cssclass = 'match', size=100)
forms.end()
html.button('_try', _('Try out'))
+ html.del_var('folder') # Never hand over the folder here
html.hidden_fields()
html.end_form()