Deleting files in deaccessioned datasets
Nobody has claimed this yet.
- 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?
On the tombstone page for a deaccessioned dataset users can select files using the checkboxes and attempt to "delete" files using the "Edit files" dropdown menu. This results in an error: "The selected files could not be deleted"; and a warning: "Info – The "DRAFT" version was not found. This is version "2.0""
-
When does this issue occur?
When a user attempts to delete a file in a deaccessioned dataset by selecting the file and clicking "Edit files" --> "Delete" -
Which page(s) does it occurs on?
The tombstone page for a deaccessioned dataset. -
What happens?
User receives an error message and a warning message (see above screenshot). -
To whom does it occur (all users, curators, superusers)?
All users with sufficient permissions to edit datasets, including superusers. -
What did you expect to happen?
Files to be deleted.
Which version of Dataverse are you using?
Harvard Dataverse 5.11.1 & Demo Dataverse 5.11.1 build 1069-02e3e92
Any related open or closed issues to this bug report?
8037 is describing the same bug (or feature?) and looking for a similar resolution (for users to be able to delete files) for a different use case.
6925 is describing a similar error in 4.20.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure on the tombstone page for a deaccessioned dataset using the Edit files > Delete flow, then read related issues 8037 and 6925. Trace the deletion and version-selection handling for Dataverse 5.11.1. Done means authorized users can delete selected files without the error or the incorrect DRAFT-version warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100