mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-11 12:03:09 +00:00
DS-3179
This commit is contained in:
@@ -253,8 +253,6 @@ public class BitstreamServiceImpl extends DSpaceObjectServiceImpl<Bitstream> imp
|
||||
for (Bundle bundle : bundles) {
|
||||
bundle.getBitstreams().remove(bitstream);
|
||||
}
|
||||
//Remove all bundles from the bitstream object, clearing the connection in 2 ways
|
||||
|
||||
|
||||
// Remove policies
|
||||
authorizeService.removeAllPolicies(context, bitstream);
|
||||
@@ -263,6 +261,7 @@ public class BitstreamServiceImpl extends DSpaceObjectServiceImpl<Bitstream> imp
|
||||
bitstream.setDeleted(true);
|
||||
update(context, bitstream);
|
||||
|
||||
//Remove all bundles from the bitstream object, clearing the connection in 2 ways
|
||||
bundles.clear();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user