Graylog2 / Graylog2/graylog2-server
Pipeline stage delete broken
- Dominant language
- Java
- Stars
- 8.1k
- Forks
- 1.1k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 217
Description
## Expected Behavior
User should be able to delete pipeline stages.
## Current Behavior
Last stage in a pipeline can't be deleted.
HTTP PUT Request
`{"id":"5ef4a52635594745a00869e7","title":"00 Testing again","description":"","source":"pipeline \"00 Testing again\"\nend"}`
HTTP Response 400
`[{"type":"syntax_error","line":2,"position_in_line":0,"reason":"mismatched input 'end' expecting Stage"}]`

## Steps to Reproduce (for bugs)
1. Create a pipeline
2. Add a stage
3. Try to delete the stage
## Your Environment
* Graylog Version: 3.3.1
Contributor guide
Assessment
This issue has not been assessed yet.