Skip to content

ORCID ID ending in "X" is rejected by GitLab profile validation

This bug happens on GitLab.com

Summary

GitLab rejects valid ORCID identifiers ending with an X, such as 0000-0002-2189-706X, which is a valid checksum.

Steps to reproduce

  1. Go to https://gitlab.com/-/profile
  2. Enter 0000-0000-0000-000X into the ORCID field
  3. Update profile settings

What is the current bug behavior?

An error message is displayed:

User detail orcid must contain only a orcid ID.

What is the expected correct behavior?

If instead of 0000-0000-0000-000X you use 0000-0000-0000-0000, you will get the proper behavior, with the message

Profile was successfully updated

Edited by Mateus Reinke Pelicer