-
Notifications
You must be signed in to change notification settings - Fork 501
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
Harvesting : Fix DDI Import for otherId #10772
Harvesting : Fix DDI Import for otherId #10772
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems non-controversial - just something we forgot to do when otherId
was made multiple.
Thank you for the fix.
@luddaniel Can you please provide additional details on what this PR is doing and how we can test it. |
@ofahimIQSS This PR fixes the {
"nickName": "progedo",
"dataverseAlias": "root",
"type": "oai",
"style": "default",
"harvestUrl": "https://data.progedo.fr/oai",
"archiveUrl": "https://data.progedo.fr",
"archiveDescription": "This Dataset is harvested from our partners. Clicking the link will take you directly to the archival source of the data.",
"metadataFormat": "oai_ddi25",
"schedule": "none",
"allowHarvestingMissingCVV": true
}
This cannot be reproduced by Importing a Dataset into a Dataverse Installation with a DDI file as this code line is properly coded : dataverse/src/main/java/edu/harvard/iq/dataverse/api/imports/ImportDDIServiceBean.java Line 1439 in 7d4d534
@pdurbin @landreev Is there a way to not waste too much time for this type of PR? Finding the problem and making a PR took me 1 hour whereas providing a detailed explanation, material to test took me 4 hours of headache. |
@luddaniel sorry about your headache. I'm not sure what would help. Do you have any suggestions? |
@luddaniel Thank you for providing the testing details. After uploading the client.json file with the same data provided, I ran the harvest job and received Success with "1660 failed" in results. I am testing in my local environment. Harvest Log/server log can be found below:
|
@ofahimIQSS My bad, to fix
This should give you SUCCESS; 1072 harvested, 0 deleted, 588 failed. Updated with develop as it contained an harvesting regression fixed by #10990 |
@luddaniel Thanks again - that did the trick. Testing Complete - Merging PR |
What this PR does / why we need it:
This PR fixes issue while harvesting DDI with multiple
otherId
This fix mirrors citation.tsv otherId configuration : allowmultiples = TRUE
dataverse/scripts/api/data/metadatablocks/citation.tsv
Line 8 in 7d4d534