Skip to content

Can not define a new license (Clarin V7) #1401

Description

@drengur

I am logged in as a administration using a local account.
I try to define a new license, a basic open license.
When I register the new license I get an error (422).

The DSpace log says this:
trollerAdvice @ Unprocessable or invalid entity (status:422)
org.dspace.app.rest.exception.UnprocessableEntityException: Clarin License user registration, cannot be null
at org.dspace.app.rest.repository.ClarinLicenseRestRepository.createAndReturn(ClarinLicenseRestRepository.java:177)

When I take a look at the java file I see this comment above the error thrown :
// Do not allow to create a license by the user which doesn't have data in the user_registration table
// because that could mean he is not logged in. That is not-logical situation, by theory it shouldn't happen.

The user is certainly in the user_ragistration table. Its eperson_id in the user_registration table is though null.

I can edit any other licenses without problems.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions