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

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