Skip to content

Switch Between Project Versions Gives HTTP 404 for all but Overview Tab #641

@msymons

Description

@msymons

Current Behavior

Switching between project versions gives an HTTP 404 unless the current tab being viewed is "Overview".

Steps to Reproduce

  1. Navigate to project that has more than one version.
  2. On Overview tab, use version dropdown to switch to another version. Success.
  3. Click on any other tab. eg Components.
  4. Use version dropdown to switch to another version of project. HTTP 404.

image

Problem is that (using Components tab as example) switch should be from:

https://dependency-track.foo.bar.com/projects/xxx/components

to:

https://dependency-track.foo.bar.com/projects/yyy/components

...but is actually to:

https://dependency-track.foo.bar.com/projects/xxx/yyy

Tested on DT v4.9.1 and also on v4.10.0-SNAPSHOT

Expected Behavior

There should be no HTTP 404 errors when switching from one version of a project to another, no matter what tab is being viewed.

When switching, the tab should remain unchanged.

Dependency-Track Frontend Version

4.10.0-SNAPSHOT

Browser

Mozilla Firefox

Browser Version

119.0

Operating System

Windows

Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    defectSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions