RED-5625: hotfix migration

This commit is contained in:
Yannik Hampe 2024-08-09 14:08:51 +02:00
parent 9d093addaf
commit ac5a7a73b1
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ val layoutParserVersion = "0.141.0"
val jacksonVersion = "2.15.2"
val droolsVersion = "9.44.0.Final"
val pdfBoxVersion = "3.0.0"
val persistenceServiceVersion = "2.504.0"
val persistenceServiceVersion = "2.509.0"
val springBootStarterVersion = "3.1.5"
val springCloudVersion = "4.0.4"
val testContainersVersion = "1.19.7"

View File

@ -200,7 +200,7 @@ public class RedactionLogToEntityLogMigrationService {
private static EntityLogLegalBasis toEntityLogLegalBasis(RedactionLogLegalBasis redactionLogLegalBasis) {
return new EntityLogLegalBasis(redactionLogLegalBasis.getName(), redactionLogLegalBasis.getDescription(), redactionLogLegalBasis.getReason());
return new EntityLogLegalBasis(redactionLogLegalBasis.getName(), redactionLogLegalBasis.getDescription(), redactionLogLegalBasis.getReason(),"");
}

View File

@ -410,7 +410,7 @@ public class EntityLogCreatorService {
private List<EntityLogLegalBasis> toEntityLogLegalBasis(List<LegalBasis> legalBasis) {
return legalBasis.stream()
.map(l -> new EntityLogLegalBasis(l.getName(), l.getDescription(), l.getReason()))
.map(l -> new EntityLogLegalBasis(l.getName(), l.getDescription(), l.getReason(), l.getTechnicalName()))
.collect(Collectors.toList());
}