Dataverse collection managers can't hide the Producer metadata field, and possibly any field with a child field that's conditionally required
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?
-
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

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

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 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