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.
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_registrationtable// 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.