Closed ashwinisukale closed 11 months ago
Thank you @digitaldogsbody :) for the review. I will add the test.
@digitaldogsbody while adding test case, I found one bug in our code, that if we have leading and trialing spaces in the ORCID id then we consider that id as invalid id, I have fixed the bug in the same PR. Could you please review this again.
<creator>
<creatorName nameType="Personal">Mike B</creatorName>
<nameIdentifier nameIdentifierScheme="ORCID"> 0000-0001-9998-0118 </nameIdentifier>
</creator>
" 0000-0001-9998-0118 ", # valid ORCID with leading/trailing spaces
Great catch!
Let me change the gem version if we are going to deploy this change.
…schemeURI
Purpose
Added test case normalising ORCID ids with and without schemeURI
closes: https://github.com/datacite/datacite/issues/1602
Approach
Open Questions and Pre-Merge TODOs
Learning
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Reviewer, please remember our guidelines: