ShoppingCartServices.loadCartFromOrder setting shipGroups
---------------------------------------------------------

                 Key: OFBIZ-2109
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2109
             Project: OFBiz
          Issue Type: Improvement
          Components: order
    Affects Versions: SVN trunk
         Environment: Windows XP
            Reporter: Stephen Rufle
             Fix For: SVN trunk


When reloading ship groups from a previously saved order with the following data

OrderItem orderItemSeqId="00001" productId="ABC"
OrderItemShipGroupAssoc orderItemSeqId="00001" shipGroupSeqId="00002"
OrderItemShipGroup shipGroupSeqId="00001" facilityId="AAA"
 
OrderItem orderItemSeqId="00002" productId="ABC"
OrderItemShipGroupAssoc orderItemSeqId="00002" shipGroupSeqId="00001"
OrderItemShipGroup shipGroupSeqId="00002" facilityId="BBB"

The cart.shipInfo var would get reset during the creation of cartItems from 
orderItems.  My solution was to let the first orderItems loop create all 
cartItems. Then after that is done loop through orderItems again setting ship 
groups

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to