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:
parent
3ab7151bd9
commit
2e7407cbb2
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user