Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicated components after version upgrade #4156

Closed
2 tasks done
maur1 opened this issue Sep 18, 2024 · 2 comments
Closed
2 tasks done

Duplicated components after version upgrade #4156

maur1 opened this issue Sep 18, 2024 · 2 comments
Labels
defect Something isn't working in triage

Comments

@maur1
Copy link

maur1 commented Sep 18, 2024

Current Behavior

When a component is updated the old component is still kept in dependency track increasing the vulnerability score.

See example of spring-webflux below. Version defined in the pom.xml is 6.1.11

Screenshot 2024-09-18 at 09 19 35

Steps to Reproduce

  1. Create a java project with the dependency [email protected]

  2. Generate bom with cdxgen cdxgen --output backend_bom.json --type java

  3. Upload bom to dependency track

  4. Update spring-webflux -> 6.1.11

  5. Generate bom with cdxgen cdxgen --output backend_bom.json --type java

  6. Upload bom to dependency track

Both versions will be present

Expected Behavior

Expect that the lastet version should be the only one present

Dependency-Track Version

4.11.6

Dependency-Track Distribution

Container Image

Database Server

PostgreSQL

Database Server Version

No response

Browser

Google Chrome

Checklist

@maur1 maur1 added defect Something isn't working in triage labels Sep 18, 2024
@maur1
Copy link
Author

maur1 commented Sep 23, 2024

Closing issue as it was due to a hidden dependency

@maur1 maur1 closed this as completed Sep 23, 2024
Copy link
Contributor

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
defect Something isn't working in triage
Projects
None yet
Development

No branches or pull requests

1 participant