-
Notifications
You must be signed in to change notification settings - Fork 531
Adapt to LC's change to use doi array #11904
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
Merged
sekmiller
merged 8 commits into
IQSS:develop
from
GlobalDataverseCommunityConsortium:TKLabels
Dec 9, 2025
Merged
Adapt to LC's change to use doi array #11904
sekmiller
merged 8 commits into
IQSS:develop
from
GlobalDataverseCommunityConsortium:TKLabels
Dec 9, 2025
Conversation
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
stevenwinship
approved these changes
Nov 4, 2025
Member
Author
|
FYI w.r.t. QA - the build is currently failing due to maven.dataone.org being unresponsive. The prior build passed (https://jenkins.dataverse.org/blue/organizations/jenkins/IQSS-Dataverse-Develop-PR/detail/PR-11904/5/pipeline/) and the only change since was just to fix a conflict in the list of IT tests being run. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
FY26 Sprint 9
FY26 Sprint 9 (2025-10-22 - 2025-11-05)
FY26 Sprint 10
FY26 Sprint 10 (2025-11-05 - 2025-11-19)
FY26 Sprint 11
FY26 Sprint 11 (2025-11-20 - 2025-12-03)
FY26 Sprint 12
FY26 Sprint 12 (2025-12-03 - 2025-12-17)
LocalContexts
Priority for Local Contexts Integration
Size: 10
A percentage of a sprint. 7 hours.
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: LocalContexts has updated their software and is replacing the publication_doi field with a doi array of values. (They do have some backward compatibility for using publication_doi, but this field is not populated for new projects on their site.) This PR updates Dataverse's queries to address that change, looking in the doi array for the dataset's PID and searching the doi array. It also makes a change to just search for the raw PID which, since LC does a 'contains' search internally, will match regardless of whether the user enters the doi:* form, or the https://doi.org/* form. A similar change checks for one of the two forms when retrieving specific project info.
To Do:
Which issue(s) this PR closes:
Special notes for your reviewer:
Suggestions on how to test this: On a machine configured for LocalContexts, assure that one can link/unlink an LC project using the LocalContexts metadata block.
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: