You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ch...@apache.org on 2009/08/14 16:15:18 UTC
svn commit: r804233 -
/ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java
Author: chrisg
Date: Fri Aug 14 14:15:18 2009
New Revision: 804233
URL: http://svn.apache.org/viewvc?rev=804233&view=rev
Log:
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