From 8c5be2c1d44ab09dc2c74de3d8d41ba48e6020c5 Mon Sep 17 00:00:00 2001 From: Philipp Schramm Date: Wed, 26 Oct 2022 13:46:49 +0200 Subject: [PATCH] RSS-119: RSS-119: Bugfix for method redactBetween in Section, if value is blank but start and/or stop is included --- .../service/redaction/v1/server/redaction/model/Section.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redaction-service-v1/redaction-service-server-v1/src/main/java/com/iqser/red/service/redaction/v1/server/redaction/model/Section.java b/redaction-service-v1/redaction-service-server-v1/src/main/java/com/iqser/red/service/redaction/v1/server/redaction/model/Section.java index ba4d3f94..61eb3c40 100644 --- a/redaction-service-v1/redaction-service-server-v1/src/main/java/com/iqser/red/service/redaction/v1/server/redaction/model/Section.java +++ b/redaction-service-v1/redaction-service-server-v1/src/main/java/com/iqser/red/service/redaction/v1/server/redaction/model/Section.java @@ -1332,7 +1332,7 @@ public class Section { if (values != null) { for (String value : values) { - if (StringUtils.isNotBlank(value)) { + if (StringUtils.isNotBlank(value) || (((!start.isEmpty() && includeStart) || (!stop.isEmpty() && includeStop)) && StringUtils.isNotEmpty(value))) { String searchString = value;