This is an automated email from the ASF dual-hosted git repository.
mridulpathak pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new a4d221d142 Fixed: sendOrderDeliveryScheduleNotification malformed from
address (OFBIZ-13552)
a4d221d142 is described below
commit a4d221d142041ecc706fbddd169cd10345d5a94a
Author: Mridul Pathak <[email protected]>
AuthorDate: Thu Sep 10 18:04:52 2026 +0530
Fixed: sendOrderDeliveryScheduleNotification malformed from address
(OFBIZ-13552)
Remove leading comma from sendFrom email address.
---
.../groovy/org/apache/ofbiz/order/order/OrderDeliveryServices.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/applications/order/src/main/groovy/org/apache/ofbiz/order/order/OrderDeliveryServices.groovy
b/applications/order/src/main/groovy/org/apache/ofbiz/order/order/OrderDeliveryServices.groovy
index 02da2e0e5b..cc13f39b6c 100644
---
a/applications/order/src/main/groovy/org/apache/ofbiz/order/order/OrderDeliveryServices.groovy
+++
b/applications/order/src/main/groovy/org/apache/ofbiz/order/order/OrderDeliveryServices.groovy
@@ -81,7 +81,7 @@ Map sendOrderDeliveryScheduleNotification() {
// find email address for currently logged in user, set as sendFrom
Map curUserPcmFindMap = [partyId: userLogin.partyId, contactMechTypeId:
'EMAIL_ADDRESS']
GenericValue curUserPartyAndContactMech =
from('PartyAndContactMech').where(curUserPcmFindMap).queryFirst()
- Map sendEmailMap = [sendFrom: (',' +
curUserPartyAndContactMech.infoString)]
+ Map sendEmailMap = [sendFrom: curUserPartyAndContactMech.infoString]
// find email addresses of all parties in SHIPMENT_CLERK roleTypeId, set
as sendTo
Map shipmentClerkFindMap = [roleTypeId: 'SHIPMENT_CLERK']