-
Notifications
You must be signed in to change notification settings - Fork 493
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
Fix redirects to the original repository for "Generic OAI Archive"-type Harvesting Clients #10254
Comments
Reproducing steps for the issue 1. above locally:
|
One positive development is that there is a 1-line fix for the issue 1., and I'm planning to incorporate it into the 6.1 deployment patch on our prod. Meaning, the redirects are going to start working for harvested records in collections like https://dataverse.harvard.edu/dataverse/srda_harvested once 6.1 is deployed - whenever that happens. |
…from "generic OAI" archives. #10254
Edited, removed the second issue, that was not directly related to the broken redirects, created a new issue for it: #10429 |
…t class where the redirect url is made. #10254
…from "generic OAI" archives. IQSS#10254
…t class where the redirect url is made. IQSS#10254
This is to address the problems discovered while resolving #7624.
At the moment redirects to the original repository source (when our user clicks on the search card for a harvested record) are broken for ALL datasets harvested from "Generic OAI Archives"; i.e., the OAI sources that are not other Dataverse instances. What's supposed to happen is a redirect to the persistent id resolver (oai or handle), which should further redirect to the archival source. Instead it is bombing and causing an internal error in our code. This is because the identifier is processed using the new
PidUtil.parseAsGlobalID()
method that does some complicated things which specific provider, out of potentially multiple providers configured locally, owns it... things that are not necessary when it comes to harvested records. We should not call that method, but instead reverse to the default resolvers that were used before; [EDIT: NO, it doesn't bomb on account of that parseAsGlobalId method! ... but something is bombing there in that redirect, and it needs to be fixed] and, more importantly, use the custom resolver URLs that are configurable for a harvesting client.The text was updated successfully, but these errors were encountered: