Werk #14459: Fix "Move this host to another folder" option

Component Setup
Title Fix "Move this host to another folder" option
Date Jun 27, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0p4 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The option should show the possible folders the host could be moved to but ended up in perpetual loading and an entry like "AttributeError: 'list' object has no attribute 'split'" in ~/var/log/web.log, e.g. for normal monitoring users.

Moving the host via checkbox and option "Hosts" - "Move to other folder" was still possible.

To the list of all Werks