Skip to content

Inconsistent behaviour of dataset delete API#12332

Open
stevenwinship wants to merge 1 commit into
developfrom
11253-inconsistent-dataset-delete-api
Open

Inconsistent behaviour of dataset delete API#12332
stevenwinship wants to merge 1 commit into
developfrom
11253-inconsistent-dataset-delete-api

Conversation

@stevenwinship
Copy link
Copy Markdown
Contributor

What this PR does / why we need it: API call of delete Dataset does not match what has been documented. Superuser must use /destroy to delete a released Dataset. Delete Dataset API should only work for "Draft" datasets.

Which issue(s) this PR closes: #11253

Special notes for your reviewer:

Suggestions on how to test this:

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

Is there a release notes update needed for this change?: Included

Additional documentation:

@stevenwinship stevenwinship self-assigned this Apr 15, 2026
@stevenwinship stevenwinship moved this to In Progress 💻 in IQSS Dataverse Project Apr 15, 2026
@github-actions github-actions Bot added FY26 Sprint 21 FY26 Sprint 21 (2026-04-08 - 2026-04-22) Original size: 3 Type: Bug a defect labels Apr 15, 2026
@stevenwinship stevenwinship added this to the 6.11 milestone Apr 15, 2026
@coveralls
Copy link
Copy Markdown

coveralls commented Apr 15, 2026

Coverage Status

coverage: 24.951% (+0.001%) from 24.95% — 11253-inconsistent-dataset-delete-api into develop

@github-actions

This comment has been minimized.

@stevenwinship stevenwinship moved this from In Progress 💻 to Ready for Review ⏩ in IQSS Dataverse Project Apr 16, 2026
@stevenwinship stevenwinship removed their assignment Apr 16, 2026
@stevenwinship stevenwinship force-pushed the 11253-inconsistent-dataset-delete-api branch from 753818d to 153ec4c Compare April 16, 2026 22:36
@github-actions

This comment has been minimized.

@stevenwinship stevenwinship force-pushed the 11253-inconsistent-dataset-delete-api branch from 153ec4c to 09a31f7 Compare April 20, 2026 22:15
@github-actions

This comment has been minimized.

@stevenwinship stevenwinship force-pushed the 11253-inconsistent-dataset-delete-api branch from 09a31f7 to f83ba61 Compare April 21, 2026 15:21
@github-actions

This comment has been minimized.

@cmbz cmbz added the FY26 Sprint 22 FY26 Sprint 22 (2026-04-22 - 2026-05-06) label Apr 22, 2026
@stevenwinship stevenwinship force-pushed the 11253-inconsistent-dataset-delete-api branch 2 times, most recently from 106b4dc to 7a441b4 Compare April 27, 2026 13:10
@github-actions

This comment has been minimized.

@stevenwinship stevenwinship force-pushed the 11253-inconsistent-dataset-delete-api branch from 7a441b4 to b0124fb Compare April 30, 2026 13:16
@github-actions

This comment has been minimized.

@stevenwinship stevenwinship force-pushed the 11253-inconsistent-dataset-delete-api branch from b0124fb to 81859f7 Compare May 2, 2026 14:13
@github-actions

This comment has been minimized.

@stevenwinship stevenwinship force-pushed the 11253-inconsistent-dataset-delete-api branch from 81859f7 to fbe0852 Compare May 6, 2026 18:10
@github-actions

This comment has been minimized.

@cmbz cmbz added the FY26 Sprint 23 FY26 Sprint 23 (2026-05-06 - 2026-05-20) label May 6, 2026
@stevenwinship stevenwinship force-pushed the 11253-inconsistent-dataset-delete-api branch from fbe0852 to 72bf6b7 Compare May 7, 2026 19:49
@github-actions

This comment has been minimized.

@stevenwinship stevenwinship force-pushed the 11253-inconsistent-dataset-delete-api branch from 72bf6b7 to d178e60 Compare May 11, 2026 13:15
@github-actions

This comment has been minimized.

@stevenwinship stevenwinship force-pushed the 11253-inconsistent-dataset-delete-api branch from d178e60 to 1427ae3 Compare May 12, 2026 15:37
@github-actions

This comment has been minimized.

@stevenwinship stevenwinship force-pushed the 11253-inconsistent-dataset-delete-api branch from 1427ae3 to b5193a0 Compare May 13, 2026 13:12
@github-actions

This comment has been minimized.

@stevenwinship stevenwinship force-pushed the 11253-inconsistent-dataset-delete-api branch from b5193a0 to f1ebfaf Compare May 13, 2026 19:24
@github-actions

This comment has been minimized.

@sekmiller sekmiller self-assigned this May 19, 2026
@sekmiller sekmiller moved this from Ready for Review ⏩ to In Review 🔎 in IQSS Dataverse Project May 19, 2026
@stevenwinship stevenwinship force-pushed the 11253-inconsistent-dataset-delete-api branch from f1ebfaf to 555ab41 Compare May 20, 2026 17:59
@github-actions

This comment has been minimized.

@cmbz cmbz added the FY26 Sprint 24 FY26 Sprint 24 (2026-05-20 - 2026-06-03) label May 21, 2026
Comment thread src/main/java/edu/harvard/iq/dataverse/PermissionsWrapper.java
Copy link
Copy Markdown
Contributor

@sekmiller sekmiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor change suggestion - change the name of the permissions wrapper method to reflect the command tested. (it's only called in a couple of places)

@stevenwinship stevenwinship removed their assignment May 21, 2026
@stevenwinship stevenwinship force-pushed the 11253-inconsistent-dataset-delete-api branch from 555ab41 to a87465a Compare May 21, 2026 20:15
@github-actions

This comment has been minimized.

@sekmiller sekmiller dismissed their stale review May 22, 2026 13:33

can of worms

@github-project-automation github-project-automation Bot moved this from In Review 🔎 to Ready for QA ⏩ in IQSS Dataverse Project May 22, 2026
@sekmiller sekmiller removed their assignment May 22, 2026
@stevenwinship stevenwinship force-pushed the 11253-inconsistent-dataset-delete-api branch from a87465a to 59d7049 Compare May 26, 2026 17:55
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 26, 2026

Test Results

396 tests  ±0   381 ✅ ±0   28m 16s ⏱️ - 4m 4s
 53 suites ±0    15 💤 ±0 
 53 files   ±0     0 ❌ ±0 

Results for commit b70465c. ± Comparison against base commit d5e2cda.

♻️ This comment has been updated with latest results.

@github-actions

This comment has been minimized.

@stevenwinship stevenwinship force-pushed the 11253-inconsistent-dataset-delete-api branch from 59d7049 to b70465c Compare May 27, 2026 14:24
@github-actions
Copy link
Copy Markdown

📦 Pushed preview images as

ghcr.io/gdcc/dataverse:11253-inconsistent-dataset-delete-api
ghcr.io/gdcc/configbaker:11253-inconsistent-dataset-delete-api

🚢 See on GHCR. Use by referencing with full name as printed above, mind the registry name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FY26 Sprint 21 FY26 Sprint 21 (2026-04-08 - 2026-04-22) FY26 Sprint 22 FY26 Sprint 22 (2026-04-22 - 2026-05-06) FY26 Sprint 23 FY26 Sprint 23 (2026-05-06 - 2026-05-20) FY26 Sprint 24 FY26 Sprint 24 (2026-05-20 - 2026-06-03) Original size: 3 Type: Bug a defect

Projects

Status: Ready for QA ⏩

Development

Successfully merging this pull request may close these issues.

Inconsistent behaviour of dataset delete API

4 participants