Werk #15127: Fix host rename for hosts with parents in same folder

Component Setup
Title Fix host rename for hosts with parents in same folder
Date Feb 25, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p23 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

If you renamed a host which was a parent of another host in the same folder, the parent was correctly renamed but the host itself was not.

A workarround was to rename the host twice.

To the list of all Werks