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

7130-handle missing contact name #7465

Merged
merged 1 commit into from Dec 8, 2020

Conversation

qqmyers
Copy link
Member

@qqmyers qqmyers commented Dec 8, 2020

What this PR does / why we need it: This PR handles the case where a contact has an email but not a name which previously resulted in a null pointer exception.

Which issue(s) this PR closes:

Closes #7130

Special notes for your reviewer: discussion in issue. Note this branch was merged once to close 7130 - reusing the issue and branch to handle another point that has come up.

Suggestions on how to test this: create a dataset with a contact that only has an email. Publish. Trigger bag creation (probably easiest to configure the file archiver and then use the API to request bag creation - per guides). Bag should be created. (@mderuijter may also be able to test?)

Does this PR introduce a user interface change? If mockups are available, please link/include them here: no

Is there a release notes update needed for this change?: no

Additional documentation: none

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.0005%) to 19.397% when pulling faf2854 on GlobalDataverseCommunityConsortium:IQSS/7130 into 70b6dd2 on IQSS:develop.

Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't test this fix but it makes sense. A null check was added to two places.

IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) automation moved this from Review 🦁 to QA 🔎✅ Dec 8, 2020
@kcondon kcondon self-assigned this Dec 8, 2020
@kcondon kcondon merged commit da19bcf into IQSS:develop Dec 8, 2020
IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) automation moved this from QA 🔎✅ to Done 🚀 Dec 8, 2020
@djbrooke djbrooke added this to the 5.3 milestone Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Bagit PostPublication Workflow: Some datasets generate invalid bags
5 participants