Permalink
Browse files

OrderItemAttributes not correctly saved while creating an order due t…

…o a typo in a variable name, reportreported and patch provided by Mirko as part of OFBIZ-5158.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1459222 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
Vikas Mayur
Vikas Mayur committed Mar 21, 2013
1 parent defe51b commit 04873ada4df2075387d99f89f5cc9639695f28b8
Showing with 1 addition and 1 deletion.
  1. +1 −1 applications/order/src/org/ofbiz/order/order/OrderServices.java
@@ -608,7 +608,7 @@ private static boolean hasPermission(String orderTypeId, String partyId, Generic
// set the order item attributes
List<GenericValue> orderItemAttributes = UtilGenerics.checkList(context.get("orderItemAttributes"));
if (UtilValidate.isNotEmpty(orderItemAttributes)) {
- for(GenericValue oiatt : orderAttributes) {
+ for(GenericValue oiatt : orderItemAttributes) {
oiatt.set("orderId", orderId);
toBeStored.add(oiatt);
}

0 comments on commit 04873ad

Please sign in to comment.