IQSS / IQSS/dataverse

After admin removes Embargo - Embargo tag still displays

Open
#11,257 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type: Bug
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?

Set an embargo. Then use the admin API command to remove the embargo. Using these commands from the guide:
https://guides.dataverse.org/en/latest/api/native-api.html#remove-an-embargo-on-files-in-a-dataset

  • When does this issue occur?
    Happens only when dataverseAdmin removes the embargo via the API unset-embargo command.

  • What happens?
    The embargo tag is still displayed on the dataset card in the collection listing, despite the file no longer having an embargo and is available to download.
    Also the embargo information for the file is not retained.

  • What did you expect to happen?
    When an embargo is removed, the "embargo" tag should also be removed.
    I also expected the file to have embargo information (that it had been embargoed). Embargo information is included on files where the software automatically releases the embargo.

Which version of Dataverse are you using?
Happens in V6.2 as well as V 6.5 (on demo.dataverse.org)

Screenshots:
Embargo tag still displaying - Seen here: https://demo.dataverse.org/dataverse/lake_design

Image

File Information for "embargoed" previously not showing when API unset-embargo is used (file from the above collection on demo.dataverse:

Image

What a previously embargoed file info looks like - after the expiration date (done automatically at expiration date):

Image

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

Reproduce the problem using the native API guide's unset-embargo command, then inspect the dataset card on the collection listing and the file information view. Compare API removal with automatic expiration and verify that the embargo tag disappears while the file retains its prior embargo information.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend, frontend
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.