Feature Request/Idea: Consider error handling when trying to load metadata block where field's allowControlledVocabulary property is TRUE but vocabulary terms are missing #10461
Labels
Type: Feature
a feature request
Also maybe the Dataverse software can return some error when it tries to load a TSV file that has any fields where allowControlledVocabulary is TRUE but no terms are listed for that field in the TSV file's #controlledVocabulary section.
Overview of the Feature Request
When an installation manager tries to load a metadata block TSV file that has a field whose allowControlledVocabulary property is TRUE, but there are no vocabulary terms for that field in the TSV file's #controlledVocabulary section, the Dataverse software doesn't load the metadata block and returns an error to let the installation manager know.
What kind of user is the feature intended for?
(Example users roles: API User, Curator, Depositor, Guest, Superuser, Sysadmin)
Sysadmin
What inspired the request?
#8857
What existing behavior do you want changed?
The Dataverse software lets an installation manager load a metadata block TSV file that has a field whose allowControlledVocabulary property is TRUE while there are no vocabulary terms for that field in the TSV file's #controlledVocabulary section.
Any brand new behavior do you want to add to Dataverse?
When an installation manager tries to load a metadata block TSV file that has a field whose allowControlledVocabulary property is TRUE, but there are no vocabulary terms for that field in the TSV file's #controlledVocabulary section, the Dataverse software returns an error to let the installation manager know.
Any open or closed issues related to this feature request?
#8857
#9984
The text was updated successfully, but these errors were encountered: