Open KondratyevAndrey opened 1 year ago
I think we get the same error. If I follow it correctly, the problem seems to be that one of the two submitted URLs with UUIDs contains "?projection=allLanguages ". So for example those two URLs are send to the REST api:
0 = "http://localhost:8080/server/api/core/items/27d0ae36-1f06-4b9a-9a42-5d1977b9da89?projection=allLanguages " 1 = " http://localhost:8080/server/api/core/items/3e61f79b-dccf-478d-9dce-220fa70d5c1c"
Utils.constructDSpaceObjectList() can not construct a valid item id from the first URL, so the UnprocessableEntityException is thrown.
+1
We got the same error. I will describe the steps to get to it :
Prerequisites :
Creating a relationship :
Notes :
Hello, which kind of relationships are you trying to create? Are these relationships stored in relationship_type table? The standard / suggested approach to link researchers and publications is to use authority framework.
When tries to add a relationship between Researcher and Publication there are an error 422
2023-01-24 09:52:52,338 ERROR 67ec324e-55e4-4ba7-a311-997d9121f306 d1c3bf70-32c9-4d79-ac0b-42e19a712a2b org.dspace.app.rest.exception.DSpaceApiExceptionControllerAdvice @ Unprocessable or invalid entity (status:422)