DependencyTrack / DependencyTrack/dependency-track
Issues with componets comments in Projects
- Dominant language
- Java
- Stars
- 4.2k
- Forks
- 811
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 237
Description
### Current Behavior:
In "Audit Vulnerabilities" tab of a project, when I set something in Comment textarea of a component, when I click on "Add Comment"
the comment is erased (and lost)
There is a similar behavior for "Policy Violations tab", the comment is not erased, but does not seems persisted as textarea becomes empty if I refresh the page
### Steps to Reproduce:
Try to set a comment in Audit Vulnerabilities for a component and click "Add Comment"

Try to set a comment in Policy Violations for a component and click "Add Comment", refresh the page

### Expected Behavior:
The comment should be saved and displayed, not erased
### Environment:
- Dependency-Track Version: 4.5.0
- Distribution: Docker
- BOM Format & Version: CycloneDX 1.4
- Database Server: Azure PostgreSQL
- Browser: Google Chrome Version 101.0.4951.64 (Official Build) (64-bit)
### Additional Details:
Contributor guide
Assessment
This issue has not been assessed yet.