This is an automated email from the ASF dual-hosted git repository.
mridulpathak pushed a commit to branch release24.09
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release24.09 by this push:
new 68c16eb659 Fixed: Regression in the minilang-to-Groovy conversion of
ContactMechServicesScript.groovy (OFBIZ-13612)
68c16eb659 is described below
commit 68c16eb659ab30960335a86975e818dcd3e2851b
Author: Mridul Pathak <[email protected]>
AuthorDate: Sat Sep 26 17:59:41 2026 +0530
Fixed: Regression in the minilang-to-Groovy conversion of
ContactMechServicesScript.groovy (OFBIZ-13612)
sendVerifyEmailAddressNotification() now also requires
storeEmail.bodyScreenLocation to be set before attempting to send, matching the
original mini-lang, instead of calling sendMailFromScreen with a null
bodyScreenUri whenever a ProductStoreEmailSetting row for PRDS_EMAIL_VERIFY
exists but its bodyScreenLocation is blank.
---
.../org/apache/ofbiz/party/contact/ContactMechServicesScript.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/applications/party/src/main/groovy/org/apache/ofbiz/party/contact/ContactMechServicesScript.groovy
b/applications/party/src/main/groovy/org/apache/ofbiz/party/contact/ContactMechServicesScript.groovy
index c815df2e34..bdd880f216 100644
---
a/applications/party/src/main/groovy/org/apache/ofbiz/party/contact/ContactMechServicesScript.groovy
+++
b/applications/party/src/main/groovy/org/apache/ofbiz/party/contact/ContactMechServicesScript.groovy
@@ -322,7 +322,7 @@ Map sendVerifyEmailAddressNotification() {
GenericValue emailAddressVerification = from('EmailAddressVerification')
.where('emailAddress', parameters.emailAddress)
.queryOne()
- if (emailAddressVerification && storeEmail) {
+ if (emailAddressVerification && storeEmail?.bodyScreenLocation) {
Map emailParams = [
sendTo: parameters.emailAddress,
subject: storeEmail.subject,