In OpenAIRE/oai_datacite export, when user enters DOI in Related Publication URL field, without choosing the identifier type, include related identifier
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 564
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 29
Description
Overview of the Feature Request
When the user enters a DOI URL in the Related Publication URL field but doesn't choose an option from the Related Publication Identifier Type dropdown, the OpenAIRE/oai_datacite export should include a related identifier with relatedIdentifierType="DOI", as the DataCite/Datacite export already does. Currently, the OpenAIRE/oai_datacite export does not include the related identifier in this case.
This issue is part of a larger effort to align both metadata exports, described in https://github.com/IQSS/dataverse/issues/11916 and https://github.com/IQSS/dataverse/issues/12281.
What kind of user is the feature intended for?
API User, Superuser, and Sysadmin
What inspired the request?
This is part of a larger effort to align the OpenAIRE/oai_datacite and DataCite/Datacite metadata exports. There is more context at https://github.com/IQSS/dataverse/issues/11916 and https://github.com/IQSS/dataverse/issues/12281.
What existing behavior do you want changed?
Currently, the DataCite/Datacite export detects when the user has entered a DOI URL in the Related Publication URL field (such as https://doi.org/10.12345/FK2/123456) without choosing an identifier type, and includes the related identifier with relatedIdentifierType="DOI". The OpenAIRE/oai_datacite export does not include the related identifier in this case.
The OpenAIRE/oai_datacite export should be changed to include the related identifier with relatedIdentifierType="DOI" when the user enters a DOI URL but doesn't choose an identifier type, matching the behavior of the DataCite/Datacite export.
Any open or closed issues related to this feature request?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the OpenAIRE/oai_datacite and DataCite/Datacite export entry points and compare how each handles the Related Publication URL and identifier type. Use the existing DataCite behavior as the reference, then verify that a DOI URL without a selected identifier type produces a related identifier with relatedIdentifierType="DOI" in the OpenAIRE/oai_datacite output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100