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

Minor Bug sending software name/version to DataCite #10919

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

qqmyers
Copy link
Member

@qqmyers qqmyers commented Oct 11, 2024

What this PR does / why we need it:
Per the plan https://docs.google.com/document/d/1JzDo9UOIy9dVvaHvtIbOI8tFU6bWdfDfuQvWWpC0tkA/edit?usp=sharing,
the DataCite XML updates done in v6.4 were supposed to send the software name when no software version was supplied and the name, version when the version is supplied. The code does not do that and would append a blank/null version in the no version case due to a misplaced parenthesis.

Which issue(s) this PR closes:

  • Closes #

Special notes for your reviewer:

Suggestions on how to test this: Create a dataset with a software name and no version, publish it and check the DataCite export. You'll see a line like
<description descriptionType="TechnicalInfo">DVUploader, null</description>
before and
<description descriptionType="TechnicalInfo">DVUploader</description>
after it.

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

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

Additional documentation:

@coveralls
Copy link

coveralls commented Oct 11, 2024

Coverage Status

coverage: 20.875%. remained the same
when pulling f1380b1 on QualitativeDataRepository:QDR-send_software_without_version_to_DataCite
into c44ad65 on IQSS:develop.

@qqmyers qqmyers added Size: 0.5 A percentage of a sprint. 0.35 hours Type: Bug a defect labels Oct 11, 2024
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 but the fix make sense to me. Approved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Size: 0.5 A percentage of a sprint. 0.35 hours Type: Bug a defect
Projects
Status: Ready for Triage
Development

Successfully merging this pull request may close these issues.

3 participants