Current Behavior
On the project Findings view (Export VEX / Export VDR) and the project Components view (Download BOM – inventory/with-vulnerabilities, and Download component – CSV), the export buttons have no guard against repeated clicks. Each click immediately starts a new download, so clicking while a download is already in progress triggers multiple simultaneous requests and duplicate file downloads.
Steps to Reproduce
- Open a project with findings/components.
- On Findings, rapidly click "Export VEX" (or VDR); on Components, rapidly click "Download BOM" (or the CSV option).
- Multiple identical downloads are triggered.
Expected Behavior
While an export is in progress the control should be disabled (with a spinner), so one click = one download until it completes.
Dependency-Track Frontend Version
4.x
Browser
Microsoft Edge
Browser Version
No response
Operating System
Windows
Checklist
Current Behavior
On the project Findings view (Export VEX / Export VDR) and the project Components view (Download BOM – inventory/with-vulnerabilities, and Download component – CSV), the export buttons have no guard against repeated clicks. Each click immediately starts a new download, so clicking while a download is already in progress triggers multiple simultaneous requests and duplicate file downloads.
Steps to Reproduce
Expected Behavior
While an export is in progress the control should be disabled (with a spinner), so one click = one download until it completes.
Dependency-Track Frontend Version
4.x
Browser
Microsoft Edge
Browser Version
No response
Operating System
Windows
Checklist