A new DOI is created when submitting a publication that has been reverted before.
A publication can be reverted by submitter when it is published and is still within 30-day grace period. However, we found an issue that a new DOI is going to be created on DataCite when user submits the publication, which was reverted from published to draft. (The submitter reverted the publication to draft because a few changes to the datasets are needed). This is a bug that need to be fixed because a DOI has been created when the publication was submitted for the first time. The same DOI should go with the publication all the time no matter what actions has been taken by users through PURR web user interface.
The code change is to remove the operation of registering dataset on DataCite which leads to new DOI created, when submitting a dataset that is in draft ready status (The dataset has been reverted from published to draft).
Test:
User submits a publication and administrator approves it.
In the project->publications, user reverts the publication to draft, makes changes, then submits it again.
Login on doi.test.datacite.org to see there isn't any new DOI created for the publication. The expected result is that you don't find any new DOI created for the dataset, and only see the DOI that was created in step 1 process.
https://purr.purdue.edu/support/ticket/2561
A new DOI is created when submitting a publication that has been reverted before.
A publication can be reverted by submitter when it is published and is still within 30-day grace period. However, we found an issue that a new DOI is going to be created on DataCite when user submits the publication, which was reverted from published to draft. (The submitter reverted the publication to draft because a few changes to the datasets are needed). This is a bug that need to be fixed because a DOI has been created when the publication was submitted for the first time. The same DOI should go with the publication all the time no matter what actions has been taken by users through PURR web user interface.
The code change is to remove the operation of registering dataset on DataCite which leads to new DOI created, when submitting a dataset that is in draft ready status (The dataset has been reverted from published to draft).
Test: