Skip to content
New issue

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

[fix] Some name fields are optional for ORCID profiles #36

Merged
merged 2 commits into from
Oct 22, 2018

Conversation

zooley
Copy link
Contributor

@zooley zooley commented Oct 22, 2018

While "given-names" is always required for a profile, "family-name" may
or may not be available. So, we check if it's there before trying to
grab a value from it.

Refs: https://members.orcid.org/api/tutorial/reading-xml#names
Fixes: https://help.hubzero.org/support/ticket/11529

While "given-names" is always required for a profile, "family-name" may
or may not be available. So, we check if it's there before trying to
grab a value from it.

Refs: https://members.orcid.org/api/tutorial/reading-xml#names
Fixes: https://help.hubzero.org/support/ticket/11529
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling da5cc86 on zooley:master into e3e1a65 on hubzero:master.

@zooley zooley merged commit 2b9a31b into hubzero:master Oct 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants