frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Project Details view cannot be opened (missing UUID in URL -> Error 500)

Open rkg-mm opened this issue 1 year ago • 12 comments

Current Behavior

I am unable to open the "View Details" window of some of our projects. Others work fine. The problematic projects try to request /api/v1/project/undefined

Somehow the projects UUID is not available when creating the URL, resulting in an "undefined" instead of the UUID. This causes a ERROR 500 on the server due to the missing ID. (Shouldn't this be a 400?)

Steps to Reproduce

  1. Open a project (it only happens on some projects, no idea why on these and not on others)
  2. Click "View Details"
  3. See the error

Expected Behavior

No error

Dependency-Track Frontend Version

4.10.0

Browser

Mozilla Firefox

Browser Version

No response

Operating System

Windows

Checklist

rkg-mm avatar Jan 27 '24 15:01 rkg-mm