mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 10:34:25 +00:00
Merge pull request #1031 from KevinVdV/DS-2723-delete-collection-review-group
[DS-2723] Delete collection broken if a review group is attached in basic workflow
This commit is contained in:
@@ -1018,6 +1018,9 @@ public class BasicWorkflowServiceImpl implements BasicWorkflowService
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void deleteCollection(Context context, Collection collection) throws SQLException, IOException, AuthorizeException {
|
public void deleteCollection(Context context, Collection collection) throws SQLException, IOException, AuthorizeException {
|
||||||
|
collection.setWorkflowGroup(1, null);
|
||||||
|
collection.setWorkflowGroup(2, null);
|
||||||
|
collection.setWorkflowGroup(3, null);
|
||||||
workflowItemService.deleteByCollection(context, collection);
|
workflowItemService.deleteByCollection(context, collection);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user