hotfix: resizing a rule-based entity with dict does not work
This commit is contained in:
parent
06ea42c410
commit
b67cf7eb99
@ -137,8 +137,7 @@ public class ManualRedactionDictionaryUpdateHandler {
|
|||||||
|
|
||||||
public Set<String> updateDictionaryForResizeRedactions(String dossierId, String fileId, ManualResizeRedactionEntity resizeRedaction, EntityLogEntry entityLogEntry) {
|
public Set<String> updateDictionaryForResizeRedactions(String dossierId, String fileId, ManualResizeRedactionEntity resizeRedaction, EntityLogEntry entityLogEntry) {
|
||||||
|
|
||||||
if (resizeRedaction.getUpdateDictionary() != null && resizeRedaction.getUpdateDictionary() && resizeRedaction.getStatus()
|
if (resizeRedaction.getUpdateDictionary() != null && resizeRedaction.getUpdateDictionary() && resizeRedaction.getStatus().equals(AnnotationStatus.APPROVED)) {
|
||||||
.equals(AnnotationStatus.APPROVED) && (entityLogEntry.isDictionaryEntry() || entityLogEntry.isDossierDictionaryEntry())) {
|
|
||||||
|
|
||||||
var dossier = dossierPersistenceService.findByDossierId(dossierId);
|
var dossier = dossierPersistenceService.findByDossierId(dossierId);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user