hotfix: resizing a rule-based entity with dict does not work

This commit is contained in:
Kilian Schuettler 2024-01-23 14:32:03 +01:00
parent 06ea42c410
commit b67cf7eb99

View File

@ -137,8 +137,7 @@ public class ManualRedactionDictionaryUpdateHandler {
public Set<String> updateDictionaryForResizeRedactions(String dossierId, String fileId, ManualResizeRedactionEntity resizeRedaction, EntityLogEntry entityLogEntry) {
if (resizeRedaction.getUpdateDictionary() != null && resizeRedaction.getUpdateDictionary() && resizeRedaction.getStatus()
.equals(AnnotationStatus.APPROVED) && (entityLogEntry.isDictionaryEntry() || entityLogEntry.isDossierDictionaryEntry())) {
if (resizeRedaction.getUpdateDictionary() != null && resizeRedaction.getUpdateDictionary() && resizeRedaction.getStatus().equals(AnnotationStatus.APPROVED)) {
var dossier = dossierPersistenceService.findByDossierId(dossierId);