dataverse icon indicating copy to clipboard operation
dataverse copied to clipboard

/api/pids GET is broken as of v6.2

Open qqmyers opened this issue 2 months ago • 3 comments

Looks like the /api/pids GET call is broken because it does a lookup of JvmSettings that, as of the change to multiple pid providers in 6.2, require specifying which provider to use. See https://github.com/IQSS/dataverse/blob/c6ccf8719d70664367bd6e65f6418017fdaaabfc/src/main/java/edu/harvard/iq/dataverse/api/Pids.java#L57-L59.

FWIW: There's a note to update to support more than just DataCite - my guess is a fix would start in that direction - parsing the incoming PID to find the provider is needed and one might then call methods in the correct provider to get the info.

What steps does it take to reproduce the issue? Use the api

  • When does this issue occur?

  • Which page(s) does it occurs on?

  • What happens?

  • To whom does it occur (all users, curators, superusers)?

  • What did you expect to happen?

Which version of Dataverse are you using? 6.2+

Any related open or closed issues to this bug report?

Screenshots:

No matter the issue, screenshots are always welcome.

To add a screenshot, please use one of the following formats and/or methods described here:

  • https://help.github.com/en/articles/file-attachments-on-issues-and-pull-requests

Are you thinking about creating a pull request for this issue? Help is always welcome, is this bug something you or your organization plan to fix?

qqmyers avatar Nov 07 '25 16:11 qqmyers