Author: deepak Date: Wed Aug 23 11:17:23 2017 New Revision: 1805880 URL: http://svn.apache.org/viewvc?rev=1805880&view=rev Log: Fixed typo, get locale from context properly, It was introduced long time back at r#1056812 Thanks Renuka Srishti for reporting this.
Modified: ofbiz/ofbiz-framework/trunk/applications/product/src/main/java/org/apache/ofbiz/product/inventory/InventoryServices.java Modified: ofbiz/ofbiz-framework/trunk/applications/product/src/main/java/org/apache/ofbiz/product/inventory/InventoryServices.java URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/src/main/java/org/apache/ofbiz/product/inventory/InventoryServices.java?rev=1805880&r1=1805879&r2=1805880&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/product/src/main/java/org/apache/ofbiz/product/inventory/InventoryServices.java (original) +++ ofbiz/ofbiz-framework/trunk/applications/product/src/main/java/org/apache/ofbiz/product/inventory/InventoryServices.java Wed Aug 23 11:17:23 2017 @@ -753,7 +753,7 @@ public class InventoryServices { LocalDispatcher dispatcher = dctx.getDispatcher(); List<GenericValue> orderItems = UtilGenerics.checkList(context.get("orderItems")); String facilityId = (String) context.get("facilityId"); - Locale locale = (Locale) context.get(""); + Locale locale = (Locale) context.get("locale"); Map<String, BigDecimal> atpMap = new HashMap<String, BigDecimal>(); Map<String, BigDecimal> qohMap = new HashMap<String, BigDecimal>(); Map<String, BigDecimal> mktgPkgAtpMap = new HashMap<String, BigDecimal>();