graylog2-server icon indicating copy to clipboard operation
graylog2-server copied to clipboard

Display error message when the pipeline rule title already exists

Open gally47 opened this issue 3 years ago • 0 comments
trafficstars

Description

As described in this issue https://github.com/Graylog2/graylog2-server/issues/11812 the description was not being saved when creating a pipeline rule but the real reason was testing with the same existing title. So in this PR the error is displayed in a readable way that the user will know why he couldn't create a new pipeline rule.

Screenshot 2022-08-10 at 14 06 34

Motivation and Context

https://github.com/Graylog2/graylog2-server/issues/11812

How Has This Been Tested?

Screenshots (if appropriate):

Screenshot 2022-08-10 at 16 17 20

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [x] Refactoring (non-breaking change)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [X] My code follows the code style of this project.
  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.
  • [ ] I have read the CONTRIBUTING document.
  • [ ] I have added tests to cover my changes.

gally47 avatar Aug 10 '22 14:08 gally47