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
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.1.0b9 2.2.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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