Skip to content

Commit

Permalink
Merge pull request DSpace#9285 from amgciadev/fix-9284-b
Browse files Browse the repository at this point in the history
Fix deleting workspace items via SWORDv2 endpoint
  • Loading branch information
tdonohue authored Apr 29, 2024
2 parents d63b815 + 5703205 commit 22dd9d8
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -760,9 +760,6 @@ protected void doContainerDelete(SwordContext swordContext, Item item,
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) {
Expand Down

0 comments on commit 22dd9d8

Please sign in to comment.