IQSS / IQSS/dataverse

Dataverse creation will fail if the user types on the Host Dataverse field with no message

Open
#10,208 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: JSF Feature: Dataverse General Info Type: Bug User Role: Depositor
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?

  1. Go to the Dataverse creation page
  2. 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)
  3. Fill the rest of the form as required
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.