Skip to content

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

@pdurbin

Description

@pdurbin

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions