IQSS / IQSS/dataverse

Dataverse collection managers can't hide the Producer metadata field, and possibly any field with a child field that's conditionally required

Open
#8,690 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Feature: Dataverse General Info Feature: Metadata Type: Bug
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 trying to customize a Dataverse collection so that the Producer metadata field is hidden

  • Which page(s) does it occurs on?
    The Dataverse collection "General Information" page

  • What happens?
    It's not possible to uncheck the checkbox that would hide the Producer fields. The check box is greyed out or inactive.

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

  • What did you expect to happen?
    The checkbox can be unchecked so that it's possible to hide the Producer field when people edit datasets in that collection

Which version of Dataverse are you using?
v.6.2, v5.10.1, v5.8.3 and possibly any version after the "conditionally required" feature (https://github.com/IQSS/dataverse/issues/7606) was added in v5.4.

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

Screenshots:

Producer field's checkbox can't be unchecked, so field can't be hidden

Screen Shot 2022-05-11 at 9 42 26 AM

In a Dataverse instance I spun up on AWS, where I removed the conditional requirement of the Producer's Name child field in the citation.tsv file, I can uncheck the Producer field's checkbox to hide the field

Screen Shot 2022-05-11 at 10 05 35 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 with the Dataverse collection "General Information" page and the Producer metadata field customization described in the report. Compare the behavior with the conditional requirement feature from issue 7606 and the citation.tsv example where the requirement was removed. Done means curators and superusers can uncheck the Producer field so it can be hidden.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
content, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.