You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2009/01/23 16:04:59 UTC

[jira] Closed: (OFBIZ-2109) ShoppingCartServices.loadCartFromOrder setting shipGroups

     [ https://issues.apache.org/jira/browse/OFBIZ-2109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-2109.
----------------------------------

    Resolution: Fixed

> 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
>            Assignee: Jacques Le Roux
>             Fix For: SVN trunk
>
>         Attachments: 2008-12-31_001_shoppingcart.patch, 2008-12-31_001_shoppingcart.patch
>
>
> 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.