Can't move epic into another epic
Summary
Can't move &882 into &687 (closed)
The bug is caused by the Epic depth validation code. It checks if max depth doesn't exceed 5 but it counts the number of descendants of the Epic to be added instead of depth.
Steps to reproduce
- Open &687 (closed)
- Add &882 as a sub epic
Generic steps to reproduce:
- Create Epic A
- Add 4 child epics to Epic A
- Create Epic B
- Add Epic A as a child to Epic B
What is the current bug behavior?
Nothing happens. The relationship is not created
A 404 is shown in the console.
What is the expected correct behavior?
Relationship should be created.
Output of checks
This bug happens on GitLab.com
Edited by Heinrich Lee Yu