Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creation of an alert without a field rule type breaks the list of alert rules #115

Open
c8y3 opened this issue May 12, 2023 · 0 comments
Open

Comments

@c8y3
Copy link
Collaborator

c8y3 commented May 12, 2023

If an alert with a field rule that does not have a rule type is created then the list of rules can not be displayed anymore.
To reproduce:

  • got to the new alert rule creation form
  • fill the title, and first field rule field name and value, but not the type (matches exactly, does not match...)
  • the save button is now greyed out, click on it
  • the list of alerts can not be displayed anymore

Server side, the POST request should not create an invalid alert in database.
Interface side, the save button should not be available before the type is correctly filled in.

@c8y3 c8y3 changed the title Creation of a without a field rule type breaks the list of rules Creation of an alert without a field rule type breaks the list of rules May 12, 2023
@c8y3 c8y3 changed the title Creation of an alert without a field rule type breaks the list of rules Creation of an alert without a field rule type breaks the list of alert rules May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant