fix serviceimpl

This commit is contained in:
dylan
2016-05-19 13:00:20 +02:00
parent 1771dd713a
commit cae419ada7

View File

@@ -585,6 +585,7 @@ public class ItemServiceImpl extends DSpaceObjectServiceImpl<Item> implements It
// Also delete the item if it appears in a harvested collection.
HarvestedItem hi = harvestedItemService.find(context, item);
if(hi!=null)
{
harvestedItemService.delete(context, hi);