IQSS / IQSS/dataverse-frontend
Upload File Page - does not handle duplicate files correctly
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 31
- Forks
- 26
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 4
Description
What steps does it take to reproduce the issue?
Upload a file to a dataset, and then within the same Upload form, try to upload the file again. The UI should present a warning that the file is a duplicate, then if the user allows the upload, then the second file should be renamed. For example -
JSF Duplicate File Upload
-
When does this issue occur?
Uploading a duplicate file to a dataset -
Which page(s) does it occur on?
Upload Files Page -
What happens?
The second upload fails silently, and doesn't get added to the form. -
To whom does it occur (all users, curators, superusers)?
all users -
What did you expect to happen?
The page should behave the same as the JSF.
Which version of Dataverse Frontend are you using?
Any related open or closed issues to this bug report?
Screenshots:
Upload Dataset form with duplicate files, in JSF-
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 on the Upload Files Page and reproduce the reported sequence: upload a file, then upload the same file again within the same form. Compare the result with the expected JSF behavior shown in the linked example and screenshot; done means the duplicate is warned about and, when allowed, appears in the form under a renamed filename.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100