Werk #12561: Fix KeyError (site_id) crash on host properties page (2.0.0p2 regression)

Component Setup
Title Fix KeyError (site_id) crash on host properties page (2.0.0p2 regression)
Date Apr 26, 2021
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.1.0i1 2.0.0p4
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

When opening the host properties page in the setup an exception KeyError ("site_id") could appear in distributed setups. This issue was triggered when a folder has a site attribute configured which does not have a site specific global setting defined. This situation is now cleanly handled to prevent this exception.

To the list of all Werks