Werk #5833: Fixed handling of 'acknowledged' parameter of the EC's UPDATE command

Component Event Console
Title Fixed handling of 'acknowledged' parameter of the EC's UPDATE command
Date Apr 9, 2018
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.5.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Previously, the 'acknowledged' parameter of the EC's UPDATE command was processed after the event was already (partially) updated. When the 'acknowledged' parameter was missing or not an integer, this behavior was confusing and could e.g. lead to missing history entries.

Now all parameters are checked before the event is modified, so no partial updates happen. Furthermore, the 'acknowledged' parameter is optional now, restoring the previous accidental behavior in a clean way.

To the list of all Werks