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

Merged
kilian.schuettler1 merged 1 commits from resize_hotfix into master 2024-01-23 16:54:12 +01:00

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);