Werk #13767: API: fix show all users endpoint call when users have no emails

Component REST API
Title API: fix show all users endpoint call when users have no emails
Date Feb 25, 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.0b3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p22 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

In the previous version, the show all users endpoint returned an error if one of the users had no email present in its contact information. This werk fixes this behaviour. It should be noted that this case is only relevant for internal users. Users created through the REST-API or the UI will always have an email placeholder field even if an email was not specified.

To the list of all Werks