-
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
Permalink PIDs: UnmanagedPermaLinkProvider is not configured #11165
Comments
The settings that worked for me were as follows:
Though probably unrelated to this issue, I also had to explicitly set the permalink base url to include |
Thanks for the bug report! I’m glad you got something working. After confirming that parsing is working, I looked into how PIDs are generated and I think there's a bug when using a non-empty separator for Permalinks that will be fixed in #10790 (or - for now, non-default/non-empty separators aren't supported). Basically, a non-default separator is not being added to the newly created PID (but is being checked for in parsing). There is some fine logging in edu.harvard.iq.dataverse.pidproviders.AbstractPidProvider that should show this if anyone wants to look. I may suggest another unit test that can verify this going forward. Details on checking the parsing: In our tests we have a perma1 with Re: the base URL change: The change to the base URL came in v 6.4 and is step 12 in the install instructions in the release note. It should not be involved in the error seen here though as it shouldn't be used when creating a dataset. |
I should note the work-around too. Since separator and shoulder just get concatenated, a shoulder = |
I am having some trouble setting up a Permalink pid provider on a newly installed Dataverse 6.5. When creating a new dataset using this pid provider, I am redirected to the draft dataset page, but Dataverse cannot find said page. Internally, Dataverse raises the following error
and no dataset is created. No new entries show up in the
dataset
table in the psql database.What steps does it take to reproduce the issue?
Setup
I installed Dataverse using the Ansible Playbook — which configures a FAKE doi provider — and then manually configured an additional perma pid provider as follows:
Then I removed all PID-related settings via the
/api/admin/settings
API and restarted payara. Both providers show up in the user interface. Using the FAKE provider works, but when I switch to the perma provider I get the following error inserver.log
:Other approaches
I also tried a setup with only the permalink provider (without the fake doi provider). That setup had the same problem.
On an existing Dataverse 6.2 server, we have the following setup which works as expected:
Mitigation
As suggested by Jim, I modified the shoulder and separator. I could not find a value for the shoulder that worked, but removing the shoulder altogether got the system running! I tried the following:
"ds-"
with separator"/"
: Yields the same error"ds/"
with separator"/"
: Yields the same error"ds"
with separator"/"
: Yields the same error"/"
: Works!Which version of Dataverse are you using?
Any related open or closed issues to this bug report?
We faced problems with separators in permalink PIDs before. I am not sure if this is related, but just to be sure: #10564
This issue was also discussed in this zulip thread and on the mailing list.
The text was updated successfully, but these errors were encountered: