Details
-
Bug
-
Status: Done
-
Medium
-
Resolution: Fixed
-
None
-
1
-
Yes
-
Yes
-
[obsolete] Server Features
Description
Keep IA entities (templates, channels, rules) at a consistent state.
Prevent channel deletion if it's used by some rules.
Skip alerts in ListAlerts response where related rule not found
Skip alerts in ListAlerts response where related template not found
How to test
Case 1:
- Create notification channel
- Create rule
- Try to remove created channel (error expected)
Case 2:
- Create rule
- Wait until an alert appears on Alerts page
- Remove created rule
- Open Alerts page (no alert, no errors)
Case 3:
- Create template file in /srv/ia/templates (it could have some fake expression like "10 > 9")
- Open Alert Rule Templates page to trigger templates reloading
- Create Rule
- Wait until an alert appears on Alerts page
- Remove created template file
- Open Alert Rule Templates page to trigger templates reloading
- Open Alerts page (alert should disappear, no errors)