Branch: refs/heads/1.6.0
Home:
https://github.com/tribe29/checkmk
Commit: 738a70c57c17c27bd27b93b5f3c08708308404ae
https://github.com/tribe29/checkmk/commit/738a70c57c17c27bd27b93b5f3c087083…
Author: Timo Klecker <klecker(a)decoit.de>
Date: 2020-12-10 (Thu, 10 Dec 2020)
Changed paths:
A .werks/11736
M cmk/gui/wato/pages/host_rename.py
Log Message:
-----------
11736 FIX Rename hosts: folders names for changed rules in audit log
When renaming hosts, Checkmk adjusts the conditions of rules which
include the renamed host. Such changes are recorded in the audit log,
including the name of the folders which contain the adjusted rules.
Up to now, these folder names were not displayed correctly. The audit
log showed something like
"Renamed host in 3 rulesets of folder <bound method CREFolder.title of
Folder('', u'Main directory')>".
With this werk, this becomes
"Renamed host in 3 rulesets of folder Main directory".
Note that this bug only affects version 1.6 and is already fixed in
version 2.0.
This merges PR #286,
https://github.com/tribe29/checkmk/pull/286.
Change-Id: I9c3227640561578657b805b0a7163406dd0abaf2