IQSS / dataverse

Open source research data repository software
http://dataverse.org
Other
878 stars 490 forks source link

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

Open jggautier opened 2 years ago

jggautier commented 2 years ago

What steps does it take to reproduce the issue?

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

jggautier commented 2 years ago

We ran into this when trying to help a manager of a collection in the Harvard Dataverse Repository hide the Producer field. So we haven't been able to hide that field.

shlake commented 1 year ago

This too came up at UVa. We want to remove the Producer field(s) from a collection and cannot.

Maybe a simple solution will be to change the tsv field for Producer Name to not be required.

pdurbin commented 3 months ago

@LauraHuisintveld just reported the same bug at https://dataverse.zulipchat.com/#narrow/stream/378866-troubleshooting/topic/Can't.20hide.20metadata.20field.20'Producer'/near/452519891

Here's the pull request where we added the concept of "conditionally required":