A fix for a recent bug in harvesting from some generic OAI archives#11576
Merged
ofahimIQSS merged 3 commits intodevelopfrom Jun 23, 2025
Merged
A fix for a recent bug in harvesting from some generic OAI archives#11576ofahimIQSS merged 3 commits intodevelopfrom
ofahimIQSS merged 3 commits intodevelopfrom
Conversation
…led the 2 implementations of the OAI-identifiers-as-global-ids feature, mine and Steven Ferey's. #11479
|
📦 Pushed preview images as 🚢 See on GHCR. Use by referencing with full name as printed above, mind the registry name. |
stevenwinship
approved these changes
Jun 16, 2025
Contributor
|
PR validated - no issues to report. @landreev It looks like continuous integration is failing (ansible) |
Contributor
Author
|
I never got around to looking into the continuous integration issue last week, but on it now. |
Contributor
Author
|
P.S. Actually, the last 3 failures are all 4 sec. "ansible job terminated abnormally" - i.e., seem like Jenkins flukes rather than actual test failures. Let me re-run and see what happens. |
Contributor
Author
|
Once the tests actually ran, everything has passed apparently. |
Contributor
|
Awesome! Merging. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


What this PR does / why we need it:
This fixes an annoying harvesting bug that crept into 6.6. As we were focusing on some new harvesting features being added, such as being able to harvest from Datacite and some other archives with unique and idiosyncratic features, something very basic got broken - namely being able to harvest from the most basic/generic non-Dataverse OAI archives (for example, DSpace - as was reported in the users group in recent week).
The fix is extremely straightforward - 5 or so lines of code that needed to be dropped.
It is quite late in the release cycle, but because the fix is so trivial - and also quite useful to many users, apparently - I strongly suggest that we add it to 6.7.
Which issue(s) this PR closes:
Special notes for your reviewer:
Suggestions on how to test this:
The reproduction scenario submitted by the user in the issue above can be used to verify the fix (harvesting from a DSpace OAI archive):
Create a harvesting client with the following settings:
Harvesting will fail in develop branch.
Should work, and harvest 7 records with this build. (It may be necessary to erase the harvesting client and re-create it from scratch before retesting).
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: