Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update metadatablock logic to fail if dataverse collection does not exist #8675

Open
scolapasta opened this issue May 4, 2022 · 1 comment

Comments

@scolapasta
Copy link
Contributor

When uploading a metadatablock via tsv file, you can specify a dataverse collection (when you do, that block is only available in the subtree of the installation).

Currently, if you do this and the dataverse collection does not exist, the upload succeeds with the block being universally available. This issue is a suggestion to change the behavior, so it fails in this case.

@poikilotherm
Copy link
Contributor

Just a heads up that #7662 will contain a new parser for TSV file validation and Solr schema creation. This will not include validation for existence of a collection of course...

I dunno if the parser might be a thing for a refactoring when touching this code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants