Skip to content

fix(harvester): keep shared DOI on the latest version - #973

Open
TahaKhan998 wants to merge 1 commit into
CERNDocumentServer:masterfrom
TahaKhan998:fix/issue-943-doi-on-latest-version
Open

TahaKhan998 wants to merge 1 commit into
CERNDocumentServer:masterfrom
TahaKhan998:fix/issue-943-doi-on-latest-version

Conversation

@TahaKhan998

@TahaKhan998 TahaKhan998 commented Sep 16, 2026

Copy link
Copy Markdown

closes #943
When we split an INSPIRE record into versions and they share one journal DOI, both versions were getting that same pids.doi. The note is created first, so the article (the latest version) then fails with doi already exists.

What we do now: after the split, if an extra version has the same DOI as the latest one, we drop it from the extra version. Latest keeps it. A different DOI on an extra version is left alone.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

harvester - validate harvests for multiple document types

1 participant