mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 23:13:10 +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);
|
WorkflowItem wfi = wft.getWorkflowItem(context, item);
|
||||||
workflowItemService.deleteWrapper(context, wfi);
|
workflowItemService.deleteWrapper(context, wfi);
|
||||||
}
|
}
|
||||||
|
|
||||||
// then delete the item
|
|
||||||
itemService.delete(context, item);
|
|
||||||
} catch (SQLException | IOException e) {
|
} catch (SQLException | IOException e) {
|
||||||
throw new DSpaceSwordException(e);
|
throw new DSpaceSwordException(e);
|
||||||
} catch (AuthorizeException e) {
|
} catch (AuthorizeException e) {
|
||||||
|
Reference in New Issue
Block a user