Download: Do not increment file download count if file is not downloaded, throws error.
Open
Nobody has claimed this yet.
Feature: File Upload & Handling
Feature: Metrics + Reports
Type: Bug
User Role: Guest
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 564
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 29
Description
The file download count is incremented when the download button is pressed, not if it completes successfully. This usually works fine but in the case of a problem accessing the file on the file system, the download count still increments though the user sees an error.
This became apparent with at least one user reported issue, see RT 235472
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the download button flow and the file-system error path to find where the download count is incremented. Done means a failed download that shows an error does not increase the file's count, while a completed download still does.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100