Werk #14105: Fix KeyError for "Site ID" painter if site is missing

Component User interface
Title Fix KeyError for "Site ID" painter if site is missing
Date May 2, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0b9 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

If the painter "Site ID" is used in views were the site is missing, e.g. "All aggregations", the error "KeyError: 'site'" occurred.

To the list of all Werks