dependency-track icon indicating copy to clipboard operation
dependency-track copied to clipboard

Inactive parent when its actual active

Open WantDead opened this issue 10 months ago • 1 comments

Current Behavior

I have 2 branches of the projetc:

  • master
  • release-test

Both projects are active on dep-track image (and it's not a web ui bug, the query gives the same information)

When I try to set the master project as parent for release-test it gives out: request: image response: image

UPDATE:

This problem is solved if, before assigning a parent to a child project, you send a post request updating the parent of the project and specifying active:true

Steps to Reproduce

1.Create project via bom upload (with flag autocreate=true) via curl command 2. Try to create child project via curl (also with a bom upload and with flag autocreate=true) 4. Try to give parent for the child project via curl

Expected Behavior

Parent for the active project is set correctly

Dependency-Track Version

4.10.1

Dependency-Track Distribution

Container Image

Database Server

H2

Database Server Version

No response

Browser

N/A

Checklist

WantDead avatar Apr 04 '24 20:04 WantDead

is probably already fixed by https://github.com/DependencyTrack/dependency-track/pull/3305 edit: or not - i thought there was also a PR that cleaned the DB and set a default.. not sure where this is

rkg-mm avatar Apr 08 '24 22:04 rkg-mm