Dataverse creation will fail if the user types on the Host Dataverse field with no message
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?
- Go to the Dataverse creation page
- Navigate to the Host Dataverse field delete the content, type something like Root, then press tab (I have noticed this only happens if you don't wait a couple of seconds before the suggestion box pops out)
- Fill the rest of the form as required
- It will send you back to the same page with no error message. You will see on the server a "Number format exception: For input String Root"
-
When does this issue occur?
When the user tabs out of the Host Dataverse before the suggestion box shows -
Which page(s) does it occurs on?
Dataverse creation page -
What happens?
Creation fails with no error message or explanation of what is happening -
To whom does it occur (all users, curators, superusers)?
All -
What did you expect to happen?
Show an error message or prevent the input of invalid text
Which version of Dataverse are you using?
6.1
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 Dataverse creation page and reproduce the failure by clearing Host Dataverse, typing text such as Root, and pressing Tab before suggestions appear. Trace how that input is handled and ensure invalid text is rejected or produces an explanatory error instead of a server-side number format exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100