Filenames with "/" is Changed Incorrectly
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 564
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 29
Description
What steps does it take to reproduce the issue?
In UI: Uploading file with a slash "/".
-
When does this issue occur?
On upload, the filename is changed and the "/" is replaced by ":".
Filename - uploaded:citations/files.txt
Filename is changed to:citations:files.txt -
Which page(s) does it occurs on?
Drag or select files for upload -
What happens?
When "Save Changes" is clicked, the following error appears

-
To whom does it occur (all users, curators, superusers)?
all users -
What did you expect to happen?
Not sure what to expect, but did not expect the filename to be changed to a name that isn't valid.
Which version of Dataverse are you using?
5.11.1
Any related open or closed issues to this bug report?
Might be related to:
Closed ticket:
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
Reproduce the issue from the upload UI using a filename such as citations/files.txt, then trace what happens when Save Changes is clicked. Review the related issues 8926 and 630 for prior context. Done should address the filename transformation and prevent the reported save error, although the desired slash-handling behavior still needs confirmation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- full-stack
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100