Author: jleroux
Date: Sat Feb 21 12:01:06 2015
New Revision: 1661328
URL:
http://svn.apache.org/r1661328Log:
A patch from Arun Patidar for "Error on Sending confirm email from newly created order"
https://issues.apache.org/jira/browse/OFBIZ-6075It was just a typing error while replacing entity engine with entityQuery method
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/SendConfirmationEmail.groovy
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/SendConfirmationEmail.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/SendConfirmationEmail.groovy?rev=1661328&r1=1661327&r2=1661328&view=diff==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/SendConfirmationEmail.groovy (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/SendConfirmationEmail.groovy Sat Feb 21 12:01:06 2015
@@ -37,7 +37,7 @@ context.donePage = donePage;
// Provide the correct order confirmation ProductStoreEmailSetting, if one exists
orderHeader = from("OrderHeader").where("orderId", orderId).queryOne();
if (orderHeader.productStoreId) {
- productStoreEmailSetting = from("ProductStoreEmailSetting").where("productStoreId", orderHeader.productStoreId, "emailType", emailType)context.queryOne();
+ productStoreEmailSetting = from("ProductStoreEmailSetting").where("productStoreId", orderHeader.productStoreId, "emailType", emailType).queryOne();
if (productStoreEmailSetting) {
context.productStoreEmailSetting = productStoreEmailSetting;
}