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 610930d7cb Fixed: quickShipEntireOrder calls undefined errorMessage()
instead of error() (OFBIZ-13564)
610930d7cb is described below
commit 610930d7cb5232aae16461a3f5e96af538e2c9f1
Author: Mridul Pathak <[email protected]>
AuthorDate: Mon Sep 7 18:08:47 2026 +0530
Fixed: quickShipEntireOrder calls undefined errorMessage() instead of
error() (OFBIZ-13564)
quickShipEntireOrder() called a non-existent errorMessage() method instead
of the GroovyBaseScript-provided error(), throwing
groovy.lang.MissingMethodException whenever productStore.explodeOrderItems ==
'Y' instead of returning the intended service error.
---
.../groovy/org/apache/ofbiz/product/shipment/ShipmentServices.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/applications/product/src/main/groovy/org/apache/ofbiz/product/shipment/ShipmentServices.groovy
b/applications/product/src/main/groovy/org/apache/ofbiz/product/shipment/ShipmentServices.groovy
index 8209007759..7b1cb96173 100644
---
a/applications/product/src/main/groovy/org/apache/ofbiz/product/shipment/ShipmentServices.groovy
+++
b/applications/product/src/main/groovy/org/apache/ofbiz/product/shipment/ShipmentServices.groovy
@@ -775,7 +775,7 @@ Map quickShipEntireOrder() {
}
if (productStore.explodeOrderItems == 'Y') {
// can't insert duplicate rows in shipmentPackageContent
- return errorMessage(UtilProperties.getMessage('ProductUiLabels',
+ return error(UtilProperties.getMessage('ProductUiLabels',
'FacilityShipmentNotCreatedForExplodesOrderItems',
[productStore: productStore], locale))
}
// locate shipping facilities associated with order item rez's