Epic delete deletes all epics
Summary
When deleting an epic, it deletes all child epics as well.
Steps to reproduce
- Create epic called
one
- Create epic called
two
and makeone
a child oftwo
- Create epic called
three
and maketwo
a child ofthree
- Go to epic
two
, edit the description and click delete.
What is the current bug behavior?
- Notice that Epic
two
andone
are now gone. If you got to the curl you get a 404.
What is the expected correct behavior?
Not completely sure, probably a combination of:
- Refusing because there are child epics
- Change the modal on delete to say that it will also remove child epics
- Only delete the currently active epic and break the chain.
Output of checks
This happens on Gitlab.com.
Edited by Nigel Whillier