Skip to content
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

As of 5.10, SWORD API no longer accepts NONE for dcterms:license #8551

Closed
pdurbin opened this issue Mar 29, 2022 · 0 comments · Fixed by #8558
Closed

As of 5.10, SWORD API no longer accepts NONE for dcterms:license #8551

pdurbin opened this issue Mar 29, 2022 · 0 comments · Fixed by #8558

Comments

@pdurbin
Copy link
Member

pdurbin commented Mar 29, 2022

What steps does it take to reproduce the issue?

Here is the error:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<sword:error xmlns="http://www.w3.org/2005/Atom" href="Couldn't find an active license with: NONE" xmlns:sword="http://purl.org/net/sword/terms/">
  <title>ERROR</title>
  <updated>2022-03-29T19:00:40Z</updated>
  <generator uri="http://www.swordapp.org/" version="2.0"/>
  <summary>Couldn't find an active license with: NONE</summary>
  <sword:treatment>Processing failed</sword:treatment>
</sword:error>

What did you expect to happen?

I expect the dataset to be created.

To be honest, I'm not sure what I expect the dataset to have as a license when I specify NONE. We should probably check what happens in Dataverse 5.9.

At the very least, the XML example in the API Guide should work.

It's possible that SWORD-based integrations like OJS and OSF are broken.

Which version of Dataverse are you using?

5.10

Any related open or closed issues to this bug report?

@pdurbin pdurbin self-assigned this Mar 30, 2022
@pdurbin pdurbin removed their assignment Mar 30, 2022
pdurbin added a commit that referenced this issue Mar 31, 2022
pdurbin added a commit that referenced this issue Mar 31, 2022
pdurbin added a commit that referenced this issue Apr 5, 2022
kcondon added a commit that referenced this issue Apr 5, 2022
remove NONE as a license option for SWORD, show available licenses #8551
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant