mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 23:43:06 +00:00
[CST-5251] Improved missing builder's cleanup
This commit is contained in:
@@ -117,6 +117,7 @@ public class RequestItemBuilder
|
||||
throws Exception {
|
||||
LOG.debug("cleanup()");
|
||||
try ( Context ctx = new Context(); ) {
|
||||
ctx.setDispatcher("noindex");
|
||||
ctx.turnOffAuthorisationSystem();
|
||||
requestItem = ctx.reloadEntity(requestItem);
|
||||
if (null != requestItem) {
|
||||
|
Reference in New Issue
Block a user