Werk #17246: update_action: check for connector key in user configs before accessing it

Component Setup
Title update_action: check for connector key in user configs before accessing it
Date Aug 19, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0p33 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

We previously implemented an update action that would check for invalid ldap connection ids in the user configs. However, this change didn't take into account that a user config doesn't always have a connection id and would cause a crash on updating. This werk fixes this issue by checking first if the user config has a connection id before accessing it.

To the list of all Werks