We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What steps does it take to reproduce the issue?
When does this issue occur?
Which page(s) does it occurs on?
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)?
What did you expect to happen?
Which version of Dataverse are you using?
Any related open or closed issues to this bug report?
Screenshots:
ORCID author functionality
Hidden Identifier Field
Database Registry
Datacite Metadata export
Datacite Test Registry
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?
Correct Datacite Metadata export
Correct Datacite Test Registry
Code Change Possible Solution
The text was updated successfully, but these errors were encountered:
Thanks for the report! Looks like that didn't get caught in testing (QA or unit tests (because the ORCID value used is "AuthorIdentifier1").
At QDR, where the recent DataCite XML updates started, we have a similar fix to your in ExternalIdentifier (from 2021) that caused this bug to not be seen/ apply there. That fix is a change to the pattern: https://github.com/QualitativeDataRepository/dataverse/blob/e61419987387597ac8abc524a600b04833366782/src/main/java/edu/harvard/iq/dataverse/ExternalIdentifier.java#L7
and a change in the formatting: https://github.com/QualitativeDataRepository/dataverse/blob/e61419987387597ac8abc524a600b04833366782/src/main/java/edu/harvard/iq/dataverse/ExternalIdentifier.java#L59-L64
I also see that this change could have avoided creating two ROR checkers that was recently done:
dataverse/src/main/java/edu/harvard/iq/dataverse/ExternalIdentifier.java
Lines 17 to 19 in 106fb6f
Unless you'd like to submit a PR, I'd be happy to create a small one to get this fix into v6.6. Just let me know.
Sorry, something went wrong.
Hi @qqmyers you can create small PR to fix it.
Best Regards.
Successfully merging a pull request may close this issue.
What steps does it take to reproduce the issue?
When does this issue occur?
Which page(s) does it occurs on?
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)?
What did you expect to happen?
Which version of Dataverse are you using?
Any related open or closed issues to this bug report?
Screenshots:
ORCID author functionality
![Image](https://private-user-images.githubusercontent.com/57714822/412043826-8a7c0f25-4ea4-411b-a5b6-ed576813b160.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0ODEzMjEsIm5iZiI6MTczOTQ4MTAyMSwicGF0aCI6Ii81NzcxNDgyMi80MTIwNDM4MjYtOGE3YzBmMjUtNGVhNC00MTFiLWE1YjYtZWQ1NzY4MTNiMTYwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDIxMTAyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgyZjQ1MDYzNzVlNjdhYjIzMDA3ZWNlN2NlMDdiNTVlYWFkZmUyNzQ1ZmMzNzhiMmFiNTkwMzQ3OTA3OGQwYWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ns2SPr289VxC_SyyfV036faerurEVOykdOV0URpyiyY)
Hidden Identifier Field
![Image](https://private-user-images.githubusercontent.com/57714822/412043904-ec2a4c77-bb80-4da7-92ec-0f460886251e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0ODEzMjEsIm5iZiI6MTczOTQ4MTAyMSwicGF0aCI6Ii81NzcxNDgyMi80MTIwNDM5MDQtZWMyYTRjNzctYmI4MC00ZGE3LTkyZWMtMGY0NjA4ODYyNTFlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDIxMTAyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY3NjkzN2VjODNmYjIwZjM2NWI2YzYyOWJlOGEzYzljZTc1ZDQwMDE2MzQyOGE4NWQ2MGY0NzdhODBkZDI3ZDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.IWm8NM82711UJds405tFSz8apdk1wCv3TATIBYbiurs)
Database Registry
![Image](https://private-user-images.githubusercontent.com/57714822/412044123-054a2cf6-56f0-49bd-90f9-39bb7082e557.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0ODEzMjEsIm5iZiI6MTczOTQ4MTAyMSwicGF0aCI6Ii81NzcxNDgyMi80MTIwNDQxMjMtMDU0YTJjZjYtNTZmMC00OWJkLTkwZjktMzliYjcwODJlNTU3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDIxMTAyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFhYzc3M2QwN2Y5MTNhMWM0YTI2NWMyOTY3OWE3ZTM2OTEyMTJmZWYzODRlYmFkYWE4MDdmMDRlYTBmZjRlZWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.sxjEL8hge8fIgSISxL3iWgrF553Jg8vQ2TcugxvrPzA)
Datacite Metadata export
![Image](https://private-user-images.githubusercontent.com/57714822/412044181-1ea908ef-96d7-4f86-8b03-f5e0780c1429.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0ODEzMjEsIm5iZiI6MTczOTQ4MTAyMSwicGF0aCI6Ii81NzcxNDgyMi80MTIwNDQxODEtMWVhOTA4ZWYtOTZkNy00Zjg2LThiMDMtZjVlMDc4MGMxNDI5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDIxMTAyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM1ZjlkZmNmNjFkMDMwMDI5ODdlZTVmNzdlMjcyZDA5MTM5M2QyNmMyNGU4MTZhYjI4NjEzODkyYjk4MDFkMjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.jk05LHv8EpezdnnTZbdd_WKqKRcBH_EpiKs70R3iN9U)
Datacite Test Registry
![Image](https://private-user-images.githubusercontent.com/57714822/412044233-75ecf59b-73e9-455e-b4b2-5fc7f4a31743.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0ODEzMjEsIm5iZiI6MTczOTQ4MTAyMSwicGF0aCI6Ii81NzcxNDgyMi80MTIwNDQyMzMtNzVlY2Y1OWItNzNlOS00NTVlLWI0YjItNWZjN2Y0YTMxNzQzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDIxMTAyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg5NzRhYzcxODhhNDc5YTU3NTE5YmU4YWRmZDQ2YmRhM2JlMDkzZGVkMWM3OWQ5MTYwMjY3MjZhYjU5NDM5NmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4aJYs13wzuXpvwlBsHdKclsVd3go9IKJG4hPJvaiemA)
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?
Correct Datacite Metadata export
![Image](https://private-user-images.githubusercontent.com/57714822/412045754-fc76818e-2568-4d26-bc52-83b7da16e2a9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0ODEzMjEsIm5iZiI6MTczOTQ4MTAyMSwicGF0aCI6Ii81NzcxNDgyMi80MTIwNDU3NTQtZmM3NjgxOGUtMjU2OC00ZDI2LWJjNTItODNiN2RhMTZlMmE5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDIxMTAyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUzZDc2ODExYmY5NzcxYzhiMjYzMmNkZmY5YTk4ZDZkM2UwYmMyOWM0NTNkNTUzOGJiMDFmYjdlMGRiZjZjNWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.-SZAtfpaqVnGeaWsrOpAgTbdh5SBzTClv6n5Kveg9gE)
Correct Datacite Test Registry
![Image](https://private-user-images.githubusercontent.com/57714822/412045969-06fccb92-f725-45fa-81e6-844958f379ac.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0ODEzMjEsIm5iZiI6MTczOTQ4MTAyMSwicGF0aCI6Ii81NzcxNDgyMi80MTIwNDU5NjktMDZmY2NiOTItZjcyNS00NWZhLTgxZTYtODQ0OTU4ZjM3OWFjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDIxMTAyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTlmZTRhMzY3ZDg3YzEzZjA3NmUyMDM0NzFjNjc1ZDhjYzkwNTAzNmU3MWJiYjU0MmZkOTRlYjkzMjVmZDQ4MWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.QJZQ_gLDAKYIR-pob4KWY-HuL8J77e8Yrir-Mdu4CmU)
Code Change Possible Solution
![Image](https://private-user-images.githubusercontent.com/57714822/412050334-26e5ab15-41e7-4c73-8ccd-c1f7420531ad.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0ODEzMjEsIm5iZiI6MTczOTQ4MTAyMSwicGF0aCI6Ii81NzcxNDgyMi80MTIwNTAzMzQtMjZlNWFiMTUtNDFlNy00YzczLThjY2QtYzFmNzQyMDUzMWFkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDIxMTAyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJhZDAxMmFiYjZlNDZkMDBjMjM3MjM2YmJiMTQwZDBlMDA1MGUzZTQ2N2U3NTI4OTNlMWU1Y2VhYjI0N2EyOTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.tFy-rHImcTTn_vLCxg9yFrr04TXlmPmLcJml9HPyPZ4)
The text was updated successfully, but these errors were encountered: