You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
Thanks for the report. From a quick look, there's an embargocitationdate set on a dataset that I think was added after the main embargo functionality (as a performance improvement to avoid having to look up the embargo dates on all files) that I think is the source of that label and that doesn't look like it is getting reset/deleted when an embargo is removed from a file. Not completely sure, but hopefully that provides pointers in fixing it.
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
File Information for "embargoed" previously not showing when API unset-embargo is used (file from the above collection on demo.dataverse:
What a previously embargoed file info looks like - after the expiration date (done automatically at expiration date):
The text was updated successfully, but these errors were encountered: