goalert icon indicating copy to clipboard operation
goalert copied to clipboard

Error Notification Displayed When Unacknowledged Alert Limit Set to -1

Open mastercactapus opened this issue 1 year ago • 0 comments

Describe the Bug: When setting the unacknowledged alert limit to -1 in the System Limits settings, the system erroneously displays an alert limit reached notification. Though the functionality of allowing unlimited alerts with -1 works correctly, the user interface persists in displaying the error notification.

Steps to Reproduce:

  1. Go to 'Admin'.
  2. Click on 'System Limits'.
  3. Set 'Unacked Alert Limit' to -1.
  4. Navigate to any service, observe the error notification despite it should indicate unlimited alerts due to the -1 setting.

Expected Behavior: When setting the alert limit to -1, the user interface should not show an alert limit exceeded notification.

Observed Behavior: Despite setting the alert limit to -1, an alert limit exceeded notification is displayed in the user interface.

Application Version: This issue is not version or browser specific, it affects all versions and browsers.

Additional Context: The bug seems to stem from the user interface or warning/notification code performing a count >= limit check without taking the -1 value into account.

mastercactapus avatar Sep 27 '23 19:09 mastercactapus