DependencyTrack / DependencyTrack/dependency-track
Adding new tags sporadically overwrites previous tags
- Dominant language
- Java
- Stars
- 4.2k
- Forks
- 811
- Avg merge
- 8h
- Merged PRs (30d)
- 233
Description
### Current Behavior
The previous tags are not preserved always when new tags are added. This behavior occurs sporadically and the exact circumstances under which this occurs are unclear.
https://github.com/user-attachments/assets/a4d3f201-47a1-4bfe-a7fc-f7127a322e88
### Steps to Reproduce
To reproduce the issue, these steps may need to be repeated multiple times, as the behavior is sporadic, but it looks for me that tags needs to be removed first to reproduce the issue.
1. Create a new project
2. Create tag "a" and click on update button
3. Delete tag "a" and click update button
4. Create a tag "a" and "b" and click on update button
5. Add a new tag "c" and and click on update button
### Expected Behavior
Adding new tags should never overwrite previous tags
### Dependency-Track Version
4.11.5
### Dependency-Track Distribution
Container Image
### Database Server
PostgreSQL
### Database Server Version
15.5
### Browser
Google Chrome
### Checklist
- [X] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [X] I have checked the [existing issues](https://github.com/DependencyTrack/dependency-track/issues) for whether this defect was already reported
Contributor guide
Assessment
This issue has not been assessed yet.