Merge branch 'w2p-91356_detached-bitstream-moved-to-new-bundle-remains-deleted_upstream-ds-7.0' into w2p-91356_detached-bitstream-moved-to-new-bundle-remains-deleted_upstream-latest

This commit is contained in:
Bruno Roemers
2022-06-16 13:36:18 +02:00

View File

@@ -158,6 +158,8 @@ public class BundleServiceImpl extends DSpaceObjectServiceImpl<Bundle> implement
}
bundle.addBitstream(bitstream);
// If a bitstream is moved from one bundle to another it may be temporarily flagged as deleted
// (when removed from the original bundle)
if (bitstream.isDeleted()) {
bitstream.setDeleted(false);
}