IQSS / IQSS/dataverse

In superuser dashboard's Users page, searching for accounts with certain types of names returns no results

Open
#8,805 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature: Superuser Dashboard Type: Bug User Role: Superuser
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?

  • When does this issue occur?
    When searching in the superuser dashboard's "Users" page for Dataverse accounts with certain types of names, including names that have more than three words, such as names that include middle names (John Paul Stevens), or names that have a last name with a single quote (John O'Henry)

  • Which page(s) does it occurs on?
    The superuser dashboard's "Users" page

  • What happens?
    When searching for such names, for example John Paul Stevens, no results are found. Searching for John Paul will return acconts with the name John Paul Stevens (plus any other accounts that include John Paul), but adding (space)Stevens will return no results.

  • To whom does it occur (all users, curators, superusers)?
    superusers

  • What did you expect to happen?
    Results are found when searching for these types of names

Which version of Dataverse are you using?
v6.2, 5.10.1 and 5.11

Any related open or closed issues to this bug report?
https://github.com/IQSS/dataverse/issues/5808

Screenshots:
Searching for John O' (and searches that include all characters up to and including the single quote) returns accounts with the name John O'Henry plus accounts with names that include John, e.g. John Smith:
Screen Shot 2022-06-15 at 9 14 56 AM

Searching for John O'Henry returns no results:
Screen Shot 2022-06-15 at 9 11 36 AM

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 at the superuser dashboard's Users page and reproduce the searches for “John Paul Stevens” and “John O'Henry,” comparing them with shorter searches. Trace the user-search handling from that page and verify that searches containing more than three words or a single quote return the expected accounts.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.