Skip to content

Fix destroy dataset response for persistent IDs#12402

Open
won-seoop wants to merge 1 commit into
IQSS:developfrom
won-seoop:8412-destroy-response-persistent-id
Open

Fix destroy dataset response for persistent IDs#12402
won-seoop wants to merge 1 commit into
IQSS:developfrom
won-seoop:8412-destroy-response-persistent-id

Conversation

@won-seoop
Copy link
Copy Markdown

What this PR does / why we need it:

Fixes the destroy dataset success message for :persistentId requests so it reports the actual dataset persistent ID instead of the literal :persistentId path token. Adds unit coverage for numeric IDs and persistent IDs.

Which issue(s) this PR closes:

Special notes for your reviewer:

None.

Suggestions on how to test this:

  • mvn -Dtest=DatasetsTest test

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

No.

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

No.

Additional documentation:

None.

@won-seoop won-seoop force-pushed the 8412-destroy-response-persistent-id branch from 3b9e835 to f26ba04 Compare May 20, 2026 09:02
@pdurbin pdurbin moved this to Ready for Triage in IQSS Dataverse Project May 20, 2026
Copy link
Copy Markdown
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

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

@won-seoop this seems like a great fix! Thank you! ❤️

Comment thread src/test/java/edu/harvard/iq/dataverse/api/DatasetsTest.java
@pdurbin pdurbin added the Size: 3 A percentage of a sprint. 2.1 hours. label May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Size: 3 A percentage of a sprint. 2.1 hours.

Projects

Status: Ready for Triage

Development

Successfully merging this pull request may close these issues.

destroy endpoint returns :persistentId instead of identifier

2 participants