Button on Dependency List links to 404

Summary

In case when dependency_scanning job isn't set up for the project, the button "Learn more about dependency list" links to a URL that results in a 404.

Steps to reproduce

  1. Open project when dependency_scanning job isn't set up
  2. Go to Project -> Dependency List
  3. Click on the button "Learn more about dependency list"

Example Project

https://gitlab.com/gitlab-com/gitlab-docs/dependencies

What is the current bug behavior?

The button links to a page that does not exist.

What is the expected correct behavior?

The button links to the correct url.

Possible fixes

https://gitlab.com/gitlab-org/gitlab-ee/commit/c8229b2866bcbca668f842a1f17f33bb4ddf55b6#b47ca7ed01b1c1a50d58e46d60a3de32331e6a06_5_4

Reverting the change above, that adds #dependency-list to documentation_path.

Assignee Loading
Time tracking Loading