Merge pull request #9513 from DSpace/backport-9285-to-dspace-7_x

[Port dspace-7_x] Fix deleting workspace items via SWORDv2 endpoint
This commit is contained in:
Tim Donohue
2024-04-30 10:59:12 -05:00
committed by GitHub

View File

@@ -760,9 +760,6 @@ public class ContainerManagerDSpace extends DSpaceSwordAPI
WorkflowItem wfi = wft.getWorkflowItem(context, item);
workflowItemService.deleteWrapper(context, wfi);
}
// then delete the item
itemService.delete(context, item);
} catch (SQLException | IOException e) {
throw new DSpaceSwordException(e);
} catch (AuthorizeException e) {