You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/09/26 13:03:00 UTC
[jira] [Commented] (OFBIZ-13612) Regression in the minilang-to-Groovy conversion of ContactMechServicesScript.groovy
[ https://issues.apache.org/jira/browse/OFBIZ-13612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18119649#comment-18119649 ]
ASF subversion and git services commented on OFBIZ-13612:
---------------------------------------------------------
Commit 4221b119dd281a727e5773d555831a36c6b4df51 in ofbiz-framework's branch refs/heads/trunk from Mridul Pathak
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=4221b119dd ]
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.
> Regression in the minilang-to-Groovy conversion of ContactMechServicesScript.groovy
> -----------------------------------------------------------------------------------
>
> Key: OFBIZ-13612
> URL: https://issues.apache.org/jira/browse/OFBIZ-13612
> Project: OFBiz
> Issue Type: Bug
> Components: party
> Affects Versions: Upcoming Branch, 24.09.07
> Reporter: Mridul Pathak
> Assignee: Mridul Pathak
> Priority: Minor
>
> Found via the minilang-to-Groovy regression audit (OFBIZ-13523). One further regression on top of the prior fixes (OFBIZ-13572, OFBIZ-13582).
> h3. {{sendVerifyEmailAddressNotification()}} drops the check that the e-mail template is set
> {code:java}
> if (emailAddressVerification && storeEmail) {
> ... bodyScreenUri: storeEmail.bodyScreenLocation ...
> run service: 'sendMailFromScreen', with: emailParams
> }
> {code}
> Mini-lang additionally required {{storeEmail.bodyScreenLocation}} to be non-empty before sending. A blank {{bodyScreenLocation}} (store-configuration gap) now throws instead of silently skipping.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)