IQSS / IQSS/dataverse

Update metadatablock logic to fail if dataverse collection does not exist

Open
#8,675 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.1k
Forks
564
Avg merge
2d 2h
Merged PRs (30d)
29

Description

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.

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 by locating the metadata block TSV upload entry point and the logic that resolves a specified dataverse collection. Verify the behavior for a nonexistent collection, then add coverage showing that the upload fails instead of making the block universally available.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.