From 39433c8317db5153140fe091b7bc6cf4c5b41264 Mon Sep 17 00:00:00 2001 From: Julius Peter Oketayot Date: Mon, 16 Dec 2024 12:01:36 +0300 Subject: [PATCH] Bug/SU-525: 53 y 54 Jobs error --- .../configuration/domain/ConfigurationDomainServiceJpa.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/configuration/domain/ConfigurationDomainServiceJpa.java b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/configuration/domain/ConfigurationDomainServiceJpa.java index 9820b14f780..f20f53a41e5 100644 --- a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/configuration/domain/ConfigurationDomainServiceJpa.java +++ b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/configuration/domain/ConfigurationDomainServiceJpa.java @@ -594,7 +594,8 @@ public Long retrieveInvoiceThreshold() { @Override public List retrieveInvoiceJobNotificationEmails() { final GlobalConfigurationPropertyData property = getGlobalConfigurationPropertyData(INVOICE_NOTIFICATION_EMAILS); - if (property.isEnabled()) { + final String stringValue = property.getStringValue(); + if (property.isEnabled() && StringUtils.isNotBlank(stringValue)) { return List.of(property.getStringValue().split(",")); } return List.of();