You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by si...@apache.org on 2007/03/02 21:32:43 UTC
svn commit: r513933 -
/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/shipment/ShipmentServices.java
Author: sichen
Date: Fri Mar 2 12:32:42 2007
New Revision: 513933
URL: http://svn.apache.org/viewvc?view=rev&rev=513933
Log:
calcshipmentcostestimate service now returns carrier party id and shipment method type if it actually fails
Modified:
ofbiz/trunk/applications/product/src/org/ofbiz/shipment/shipment/ShipmentServices.java
Modified: ofbiz/trunk/applications/product/src/org/ofbiz/shipment/shipment/ShipmentServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/shipment/ShipmentServices.java?view=diff&rev=513933&r1=513932&r2=513933
==============================================================================
--- ofbiz/trunk/applications/product/src/org/ofbiz/shipment/shipment/ShipmentServices.java (original)
+++ ofbiz/trunk/applications/product/src/org/ofbiz/shipment/shipment/ShipmentServices.java Fri Mar 2 12:32:42 2007
@@ -320,7 +320,7 @@
}
if (estimateList.size() < 1) {
- return ServiceUtil.returnError("No shipping estimate found");
+ return ServiceUtil.returnError("No shipping estimate found for carrier [" + carrierPartyId + "] and shipment method type [" + shipmentMethodTypeId +"]");
}
// make the shippable item size/feature objects