Pull request #350: RED-3818: Fixed redactionlog migration
Merge in RED/persistence-service from RED-3818-11 to master * commit '45767dfb05fbf2f03be14ba19e7b67d6a42797c2': RED-3818: Fixed redactionlog migration
This commit is contained in:
commit
c3944cf274
@ -44,7 +44,7 @@ public class DictionaryToEntityMigration2 extends Migration {
|
||||
dossiers.forEach(dossier -> {
|
||||
var files = fileStatusPersistenceService.getStatusesForDossier(dossier.getId());
|
||||
files.forEach(file -> {
|
||||
if(file.getDeleted() != null){
|
||||
if(file.getDeleted() == null){
|
||||
var redactionLog = fileManagementStorageService.getRedactionLog(dossier.getId(), file.getId());
|
||||
redactionLog.getRedactionLogEntry().removeIf(entry -> entry.getType().equals("false_positive"));
|
||||
redactionLog.getRedactionLogEntry().forEach(entry -> {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user