Graylog2 / Graylog2/graylog2-server

Saving a processing pipeline rule with the same name as an existing rule fails with an empty error message

Open
#5,657 0 comments 0 reactions 0 assignees View on GitHub
bug triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## Expected Behavior
I'd expect to see an error that tells me when I'm saving a rule that has the same name as an existing rule. Something like "A rule with this name already exists. Please choose another name."

## Current Behavior

I only get this:

![screenshot from 2019-02-07 14-14-56](https://user-images.githubusercontent.com/35022/52440228-1fbe0380-2ae3-11e9-93c4-56a30226bf82.png)

## Steps to Reproduce (for bugs)

1. Create a pipeline rule and name it "Rule A"
2. Create a second pipeline rule and also name it "Rule A"
3. Save the second rule. See the non-descriptive error.

## Your Environment

* Graylog Version: Graylog 3.0.0-rc.2+2667ff2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.