Werk #16709: Limit "Send out notification" on test to HTML and ASCII Email

Component Notifications
Title Limit "Send out notification" on test to HTML and ASCII Email
Date May 31, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p5 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

If you used the option "Send out notification according to notification rules (uncheck to avoid spam)" in "Test configuration" for other notification methods than "HTML Email" or "ASCII Email", the processed notification script could crash with a Traceback.

This is caused by missing notification parameters that differ for each notification method.

We now limit the mentioned option to HTML and ASCII Email, as originally intended.

Testing all other notification methods is still possible, but you can only send out HTML and ASCII notifications.

To the list of all Werks