You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JScholarship deposit on submissions details page gets a dspace handle.
Actual Results
JScholarship deposit on submissions details page fails and no dspace handle is created.
Evidence
Pulling errors from local dspace and dspacedb container:
dspace:
Caused by: java.lang.RuntimeException: Postcondition failed for 81: Transport of package to endpoint failed: {"timestamp":"2024-09-17T18:40:33.759+00:00","status":500,"error":"Internal Server Error","message":"javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not execute batch","path":"/server/swordv2/collection/123456789/20"}
2024-09-17 14:40:34 at org.eclipse.pass.deposit.service.DepositTask$DepositTaskCriFunc.lambda$depositPostcondition$3(DepositTask.java:480)
2024-09-17 14:40:34 at org.eclipse.pass.deposit.cri.CriticalPath.performCritical(CriticalPath.java:202)
2024-09-17 14:40:34 at org.eclipse.pass.deposit.cri.CriticalRepositoryInteraction.performCritical(CriticalRepositoryInteraction.java:146)
2024-09-17 14:40:34 at org.eclipse.pass.deposit.service.DepositTask.executeDeposit(DepositTask.java:98)
2024-09-17 14:40:34 ... 21 common frames omitted
2024-09-17 14:40:34 Caused by: org.eclipse.pass.deposit.transport.sword2.SwordErrorMessageWrapper: {"timestamp":"2024-09-17T18:40:33.759+00:00","status":500,"error":"Internal Server Error","message":"javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not execute batch","path":"/server/swordv2/collection/123456789/20"}
2024-09-17 14:40:34 at org.eclipse.pass.deposit.transport.sword2.Sword2ErrorResponse.<init>(Sword2ErrorResponse.java:46)
2024-09-17 14:40:34 at org.eclipse.pass.deposit.transport.sword2.Sword2TransportSession.send(Sword2TransportSession.java:171)
2024-09-17 14:40:34 at org.eclipse.pass.deposit.service.DepositTask$DepositTaskCriFunc.lambda$performDeposit$1(DepositTask.java:440)
2024-09-17 14:40:34 at org.eclipse.pass.deposit.cri.CriticalPath.performCritical(CriticalPath.java:178)
2024-09-17 14:40:34 ... 23 common frames omitted
Environment
mac, chrome, local pass-docker
Date/time occurred
2024-09-17
Description
When running pass-docker locally with deposit services and dspace, the deposit into dspace is failing.
Note I tested this in PASS stage, and it is working fine there, this is only an issue running pass-docker locally.
Steps to Reproduce
Start pass-docker locally with deposit services and dspace (follow full instructions from pass-docker https://github.com/eclipse-pass/pass-docker/blob/main/README.md#run-with-deposit-services-and-dspace)
Log into PASS using staff1
Submit new submission all the way through (use grant R24)
Expected Results
JScholarship deposit on submissions details page gets a dspace handle.
Actual Results
JScholarship deposit on submissions details page fails and no dspace handle is created.
Evidence
Pulling errors from local dspace and dspacedb container:
dspace:
dspacedb:
Estimated Severity
Major
The text was updated successfully, but these errors were encountered: