datacite / volpino

The DataCite Profiles service
https://profiles.datacite.org
MIT License
2 stars 0 forks source link

Upcases orcid when creating orcid_client models in the Claim model #116

Closed codycooperross closed 2 years ago

codycooperross commented 2 years ago

Purpose

closes: #115

Approach

Upcases orcids when creating orcid_client Work and Notification objects in the Claim model. The orcid attribute is used to construct ORCID API request URLs, which may require uppercase characters for ORCID's pattern matching. Because orcids are currently encoded with lowercase characters, this may be causing the 404 errors some users are seeing.

Learning

Looking at ORCID's old nginx code, the pattern match for the API reverse proxy has always been uppercase X. Lower has probably never worked.

Types of changes

Reviewer, please remember our guidelines: