Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOI Publishing Bug Fix #11236

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

qqmyers
Copy link
Member

@qqmyers qqmyers commented Feb 10, 2025

What this PR does / why we need it: The code for publishing with a DOI has a bug for the case when a DOI has not been reserved prior to the publication attempt (e.g. to a prior misconfiguration/outage of DataCite, etc.). I this case, the code was finding the v1.0 added to the draft version and, due to the bug, assuming that the release was not 1.0/was an update, causing it to look for a non-existent release date and fail. The PR corrects the comparison.

Which issue(s) this PR closes:

Special notes for your reviewer:

Suggestions on how to test this: The automated test should do it, but you could misconfigure DataCite, create a dataset, and try to publish it. Before the PR it should fail, after it should succeed.

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 added the Size: 3 A percentage of a sprint. 2.1 hours. label Feb 10, 2025
@coveralls
Copy link

Coverage Status

coverage: 22.762%. remained the same
when pulling 68dfa27 on GlobalDataverseCommunityConsortium:IQSS/DataCite_publishing_bug
into 3aea148 on IQSS:develop.

@coveralls
Copy link

coveralls commented Feb 10, 2025

Coverage Status

coverage: 22.732% (-0.009%) from 22.741%
when pulling aad38ee on GlobalDataverseCommunityConsortium:IQSS/DataCite_publishing_bug
into 4b3afe3 on IQSS:develop.

@cmbz cmbz added the FY25 Sprint 16 FY25 Sprint 16 (2025-01-29 - 2025-02-12) label Feb 12, 2025
@qqmyers qqmyers added this to the 6.6 milestone Feb 12, 2025
@cmbz cmbz added the FY25 Sprint 17 FY25 Sprint 17 (2025-02-12 - 2025-02-26) label Feb 12, 2025
@qqmyers qqmyers removed their assignment Feb 25, 2025
@stevenwinship stevenwinship removed their assignment Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FY25 Sprint 16 FY25 Sprint 16 (2025-01-29 - 2025-02-12) FY25 Sprint 17 FY25 Sprint 17 (2025-02-12 - 2025-02-26) 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.

Publishing of Dataset does not work as expected (PID-Provider: Datacite)
4 participants