RED-7256 - Optimization of Upload and Download for Large Files in Azure Blob Storage and AWS S3/MinIO

- in case of resize of imported redactions the propertyChanges for is null because we don't have a property change of value
This commit is contained in:
Corina Olariu 2024-01-19 12:12:32 +02:00
parent 3ab7151bd9
commit 2e7407cbb2

View File

@ -213,7 +213,7 @@ public class EntityLogConverterService {
if (entry.getManualChanges() != null && !entry.getManualChanges().isEmpty()) {
ManualChange lastChange = entry.getManualChanges().get(entry.getManualChanges().size() - 1);
if (lastChange.getManualRedactionType().equals(ManualRedactionType.RESIZE)) {
if (lastChange.getManualRedactionType().equals(ManualRedactionType.RESIZE) && lastChange.getPropertyChanges() != null) {
return lastChange.getPropertyChanges().get("value");
}
}