"Create New Epic" option fails on Epics at the Sub-Group level

Summary

Bug discovered via https://gitlab.slack.com/archives/CETG54GQ0/p1574443750175200

Steps to reproduce

  • Go to a parent level Epic within a Sub-Group
  • Click the drop down next to "Add an Epic" and select "Create a New Epic"
  • Attempt to create a new Epic

What is the current bug behavior?

Attempting to create a new sub-Epic from the Epic view fails if the Epic is within a Sub-Group.

What is the expected correct behavior?

Epic creation should not fail at any level of an Orgs structure.

Relevant logs and/or screenshots

image

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:env:info)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Edited Nov 22, 2019 by Keanon O'Keefe
Assignee Loading
Time tracking Loading