Werk #14474: Fix parent renaming for hosts in subfolders

Komponente Setup
Titel Fix parent renaming for hosts in subfolders
Datum 24.08.2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.0.0p29 2.1.0p13 2.2.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

The renaming of hosts includes the renaming of parents, if the host that is renamed is a parent of other hosts.

This renaming was faulty if the child host was in a subfolder that inherited the parent attribute from a parent folder, leading to messages like "The parent "FOO" of the host "BAR" is not defined on this site" on activation of changes.

Note that the parent was renamed correctly in the parent folder where the attribute was effectivly set. Saving the folder properties again after renaming fixed the mentioned error message.

Zur Liste aller Werks