Werk #14145: Crash: Performance Graph dashlet without service context

Component User interface
Title Crash: Performance Graph dashlet without service context
Date Jun 15, 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.0p3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

When creating a performance graph dashlet without the service context you would expect the dashlet to use the available host metrics from the Host Check Command.

Since 2.1.0i1 this was no longer possible because the dashlet crashed with the error:

Exception: AttributeError ('str' object has no attribute 'values')

Now the dashlet works as intended again.

To the list of all Werks