Skip to content

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.

@cmbz cmbz added FY25 Sprint 8 FY25 Sprint 8 (2024-10-09 - 2024-10-23) FY25 Sprint 9 FY25 Sprint 9 (2024-10-23 - 2024-11-06) labels Oct 23, 2024
@ofahimIQSS ofahimIQSS self-assigned this Oct 24, 2024
@ofahimIQSS
Copy link
Contributor

Testing of 10919.docx

Tested and no issues were found.

@ofahimIQSS ofahimIQSS merged commit 68ae318 into IQSS:develop Oct 24, 2024
@ofahimIQSS ofahimIQSS removed their assignment Oct 24, 2024
@pdurbin pdurbin added this to the 6.5 milestone Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FY25 Sprint 8 FY25 Sprint 8 (2024-10-09 - 2024-10-23) FY25 Sprint 9 FY25 Sprint 9 (2024-10-23 - 2024-11-06) Size: 0.5 A percentage of a sprint. 0.35 hours Type: Bug a defect

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants