RED-5473: try to get redaction value

This commit is contained in:
Ali Oezyetimoglu 2022-11-30 17:38:14 +01:00
parent 7f972556f4
commit d345ba1fae

View File

@ -383,7 +383,9 @@ public class ExcelReportGenerationService {
return input -> input.getEntry().getExcerpt();
}
if (placeholder.equals(REDACTION_VALUE_PLACEHOLDER)) {
return input -> input.getEntry().getValue() != null ? input.getEntry().getValue().replaceAll("\n", " ").replaceAll(" ", " ") : "";
// return input -> input.getEntry().getValue() != null ? input.getEntry().getValue().replaceAll("\n", " ").replaceAll(" ", " ") : "";
//TODO: comment in above and delete down
return input -> input.getEntry().getValue().replaceAll("\n", " ").replaceAll(" ", " ");
}
if (placeholder.equals(REDACTION_ENTITY_DISPLAY_NAME_PLACEHOLDER)) {
return input -> input.getEntry().getEntityDisplayName();