DependencyTrack / dependency-track

Dependency-Track is an intelligent Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain.
https://dependencytrack.org/
Apache License 2.0
2.48k stars 536 forks source link

Couldn't update component details with CPE info #2710

Open TerrySunTW opened 1 year ago

TerrySunTW commented 1 year ago

Current Behavior

After component's CPE info has been set up, the value couldn't set to empty again, it will show bad request (400)

Steps to Reproduce

1.find a component with empty CPE info 2.setup first CPE value and the update is working. 3.find the component and update CPE info to empty, the value couldn't set to empty again, it will show bad request (400)

Expected Behavior

The component's CPE info should can be set to empty again without error

Dependency-Track Version

4.8.0

Dependency-Track Distribution

Container Image

Database Server

H2

Database Server Version

No response

Browser

Google Chrome

Checklist

Mtothexmax commented 3 months ago

I also have this issue. It even appears when

  1. download component that has a CPE over the get api
  2. upload component