After updating to 9.2, we started seeing an issue where we are unable to delete any bitstreams. I can reproduce it both in the gui and with the REST interface. Adding bitstreams is ok, it really does just seem to be deleting them that causes the problem.
I do confess that during the 9.2 upgrade, I missed the solr search schema.xml step, but that's rectified, and it doesn't feel like that could be the issue. As far as logs go, the dspace logs show items like
2025-12-23 20:09:14,206 ERROR 81947bcc-1096-4f52-824d-ead5b578631b ca1c69e2-be4f-4ddf-8557-e7c67577e116 org.dspace.app.rest.exception.DSpaceApiExceptionControllerAdvice @ An exception has occurred (status:500)
org.hibernate.PropertyAccessException: Null value was assigned to a property [class org.dspace.app.requestitem.RequestItem.accept_request] of primitive type: 'org.dspace.app.requestitem.RequestItem.accept_request' (setter)
at org.hibernate.property.access.spi.SetterFieldImpl.set(SetterFieldImpl.java:63)
.
.
.
at org.hibernate.query.Query.getResultList(Query.java:120)
at org.dspace.core.AbstractHibernateDAO.executeCriteriaQuery(AbstractHibernateDAO.java:437)
at org.dspace.core.AbstractHibernateDAO.findAll(AbstractHibernateDAO.java:78)
at org.dspace.core.AbstractHibernateDAO.findAll(AbstractHibernateDAO.java:70)
at org.dspace.app.requestitem.RequestItemServiceImpl.findAll(RequestItemServiceImpl.java:170)
at org.dspace.content.BitstreamServiceImpl.delete(BitstreamServiceImpl.java:298)
at org.dspace.content.BitstreamServiceImpl.delete(BitstreamServiceImpl.java:47)
at org.dspace.app.rest.repository.patch.operation.BitstreamRemoveOperation.perform(BitstreamRemoveOperation.java:58)
at org.dspace.app.rest.repository.patch.operation.BitstreamRemoveOperation.perform(BitstreamRemoveOperation.java:40)
at org.dspace.app.rest.repository.patch.ResourcePatch.performPatchOperation(ResourcePatch.java:58)
at org.dspace.app.rest.repository.patch.ResourcePatch.patch(ResourcePatch.java:42)
at org.dspace.app.rest.repository.BitstreamRestRepository.patchBitstreamsInBulk(BitstreamRestRepository.java:278)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
.
.
.
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:724)
at org.dspace.app.rest.repository.BitstreamRestRepository$$SpringCGLIB$$0.patchBitstreamsInBulk(<generated>)
at org.dspace.app.rest.BitstreamCategoryRestController.patch(BitstreamCategoryRestController.java:58)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Any suggestions?