mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-12 12:33:18 +00:00
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:
@@ -158,6 +158,8 @@ public class BundleServiceImpl extends DSpaceObjectServiceImpl<Bundle> implement
|
|||||||
}
|
}
|
||||||
|
|
||||||
bundle.addBitstream(bitstream);
|
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()) {
|
if (bitstream.isDeleted()) {
|
||||||
bitstream.setDeleted(false);
|
bitstream.setDeleted(false);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user