Skip to content

DataCite reRegsiter: fix handling when DOI doesn't exist at DataCite#12171

Open
qqmyers wants to merge 1 commit intoIQSS:developfrom
GlobalDataverseCommunityConsortium:DataCite_reRegister_handle_unregistered_DOI_case
Open

DataCite reRegsiter: fix handling when DOI doesn't exist at DataCite#12171
qqmyers wants to merge 1 commit intoIQSS:developfrom
GlobalDataverseCommunityConsortium:DataCite_reRegister_handle_unregistered_DOI_case

Conversation

@qqmyers
Copy link
Member

@qqmyers qqmyers commented Feb 19, 2026

What this PR does / why we need it: As recently seen at Harvard, the reRegisterMethod, which checks with DataCite to see if a DOI's metadata/url need to be updated and only making the update calls if needed, isn't handling the case when the DOI doesn't exist/hasn't been registered. This PR adds the appropriate try/catch logic to handle the case when a non 200 response is received, which allows the reRegister call to just register the DOI in this case.

Which issue(s) this PR closes:

  • Closes #

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

Additional documentation:

@qqmyers qqmyers moved this to Ready for Triage in IQSS Dataverse Project Feb 19, 2026
@qqmyers qqmyers added the Size: 3 A percentage of a sprint. 2.1 hours. label Feb 19, 2026
@github-project-automation github-project-automation bot moved this from Ready for Triage to Ready for QA ⏩ in IQSS Dataverse Project Feb 19, 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 QA ⏩

Development

Successfully merging this pull request may close these issues.

2 participants

Comments