Mismatch between ignore_alerts in MW and UI

Description

"ignore_alerts" used to be a single boolean value, but now you can ignore different types of alerts, so the UI sends a string array. The MW did not change between 2.0 and 2.1 to reflect this.

Example error seen on a 2.0 instance:

ERROR: servers/edit - Could not process args: {"id":"2kwvcgnowxvypch2","ignore_alerts":["warning","critical"]} . Error: json: cannot unmarshal array into Go struct field ServerObjectPublic.ignore_alerts of type bool

Activity

Bug Clerk 
January 4, 2022 at 3:59 PM

Bug Clerk 
December 28, 2021 at 12:50 AM

Complete

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created December 27, 2021 at 4:34 PM
Updated July 6, 2022 at 8:57 PM
Resolved January 4, 2022 at 4:05 PM