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

KomponenteEvent Console
TitelFixed handling of 'acknowledged' parameter of the EC's UPDATE command
Datum2018-04-09 14:57:41
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.5.0b1
LevelTrivial Change
KlasseBug Fix
KompatibilitätKompatibel - benötigt kein manuelles Eingreifen

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.