Pull request #196: RED-3262
Merge in RED/persistence-service from RED-3262 to master * commit 'd8f3220a85867309b75862b3399415427340b5b8': RED-3262
This commit is contained in:
commit
7daecb32d0
@ -56,7 +56,7 @@ public class FileService {
|
||||
var fileId = generateFileId(request);
|
||||
var existingStatus = retrieveStatus(fileId);
|
||||
|
||||
if (existingStatus != null) {
|
||||
if (existingStatus != null && !existingStatus.isSoftOrHardDeleted()) {
|
||||
if (existingStatus.getWorkflowStatus().equals(WorkflowStatus.APPROVED)) {
|
||||
throw new ConflictException("File already exists in status APPROVED");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user