Author: chrisg
Date: Fri Aug 14 14:15:18 2009
New Revision: 804233
URL:
http://svn.apache.org/viewvc?rev=804233&view=revLog:
improved misleading error message
Modified:
ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java
Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java?rev=804233&r1=804232&r2=804233&view=diff==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java Fri Aug 14 14:15:18 2009
@@ -4198,7 +4198,7 @@
// set the payToPartyId
String payToPartyId = productStore.getString("payToPartyId");
if (payToPartyId == null) {
- return ServiceUtil.returnError("Failed to create Payment: Cannot get the ProductStore for the order header");
+ return ServiceUtil.returnError("Failed to create Payment: payToPartyId not set in ProductStore");
}
// create the payment