Open collinss-jpl opened 2 years ago
@collinss-jpl do we really need to check this? if we are not allowed to mint DOIs with that identifier, it will fail when we submit to Datacite anyways?
@jordanpadams I think this was an improvement suggested by Ron since he ran into this issue and had a hard time troubleshooting because of the obtuse error message DataCite provide back. I would still consider this a low priority, nice-to-have.
moving to icebox. the error messages may be unintuitive, but we have bigger things to do right now
๐ Describe the bug
When submitting a release request to DataCite, the DOI service does not check beforehand if the DOI prefixes of the records match the one configured in the INI. This results in unintuitive errors returned from DataCite. The service should be able to check for this prior to submission and provide a better error message to the user.
๐ To Reproduce
Steps to reproduce the behavior:
--no-review
flag)๐ต๏ธ Expected behavior
The service should provide a more intuitive error message stating the incorrect prefix and the expected prefix based on what is configured in the INI.
๐ Version of Software Used
๐ฉบ Test Data / Additional context
doi_incorrect_prefix.json.txt
๐Screenshots
๐ฅ System Info
๐ฆ Related requirements
โ๏ธ Engineering Details