-
Notifications
You must be signed in to change notification settings - Fork 531
Description
What steps does it take to reproduce the issue?
- Activate CVocConf (https://github.com/gdcc/dataverse-external-vocab-support/blob/main/examples/authorIDandAffilationUsingORCIDandROR.md)
- Create Dataset
- Introduce any author using ORCID author functionality
- Publish Dataset
When does this issue occur?
- While publishing Dataset.
Which page(s) does it occurs on?
- You can see it on this page: $SERVER/api/datasets/export?exporter=Datacite&persistentId=doi:xxxx/xxxx, after Dataset publication.
What happens?
-
Datacite does not recive ORCID values and Datacite Metadata export has not ORCID fields.
-
The problem is that the file people.js (https://github.com/gdcc/dataverse-external-vocab-support/blob/main/scripts/people.js) fills the hidden field Author -> Identifier with the pattern https://orcid.org/xxxx-xxxx-xxxx-xxxx and then Dataverse, in ExternalIdentifier.java, does not consider that possibility and the getIdentifierAsUrl method of the DatasetAuthor class return null.
To whom does it occur (all users, curators, superusers)?
- All users
What did you expect to happen?
- Datacite recived ORCID fields and Datacite Metadata export was correct.
Which version of Dataverse are you using?
- 6.4
Any related open or closed issues to this bug report?
- No
Screenshots:
Are you thinking about creating a pull request for this issue?
Help is always welcome, is this bug something you or your organization plan to fix?
- Our organization fixed the issue by changing src/main/java/edu/harvard/iq/dataverse/ExternalIdentifier.java so that Author -> Identifier with the format: https://orcid.org/xxxx-xxxx-xxxx-xxxx is accepted. We are not sure if would be better to change (https://github.com/gdcc/dataverse-external-vocab-support/blob/main/scripts/people.js) instead.







