DependencyTrack / DependencyTrack/frontend
Audit Trail not updating in UI when adding multiple comments
- Dominant language
- Vue
- Stars
- 171
- Forks
- 250
- Avg merge
- 11h 12m
- Merged PRs (30d)
- 82
Description
### Current Behavior:
When adding several comments to an Audit Trail, only the first comment appears in the UI.
### Steps to Reproduce:
1. In DT, open a project and then the Audit Vulnerabilities tab.
2. Expand a vulnerability (click on >) to reveal the vuln details.
3. Enter "a comment" into the Comment box and click Add Comment. The comment appears in the Audit Trail box above.
4. Enter "another comment" into the Comment box and click Add Comment.
### Expected Behavior:
"another comment" appears in the Audit Trail box but it does not. Refreshing the webpage reveals that the second comment was added to the Audit Trail but was just not displayed when added.
I would also have expected a comment in the Comment box to be cleared when it is added to the Audit Trail.
### Environment:
- Dependency-Track Version: 4.1.0
- Distribution: Docker
- BOM Format & Version:
- Database Server: H2
- Browser: Chrome Version 88.0.4324.182 (Official Build) (64-bit)
### Additional Details:
None
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.