Graylog2 / Graylog2/graylog2-server

Pipeline stage delete broken

Open
#8,433 2 comments 2 reactions 0 assignees View on GitHub
bug processing triaged
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"}]`

![Screenshot 2020-06-25 at 16 27 34](https://user-images.githubusercontent.com/24830359/85728778-e77f8b00-b700-11ea-8c00-cd5847149ded.png)

## 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

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.