mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 15:03:18 +00:00
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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user