[jira] Created: (OFBIZ-223) CartShipInfo objects are not properly cloned when shopping cart items are exploded.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-223) CartShipInfo objects are not properly cloned when shopping cart items are exploded.

Nicolas Malin (Jira)
CartShipInfo objects are not properly cloned when shopping cart items are exploded.
-----------------------------------------------------------------------------------

                 Key: OFBIZ-223
                 URL: http://issues.apache.org/jira/browse/OFBIZ-223
             Project: OFBiz (The Open for Business Project)
          Issue Type: Bug
          Components: order
            Reporter: Jacopo Cappellato


If in the ProductStore, the explodeOrderItems flag is set to Y, during order creation the shopping cart items are exploded: the process is done cloning the original order items (mostly using the the ShoppingCartItem costructor that takes as input a ShoppingCartItem object).
The problem is that the CartShipInfo objects are not properly cloned when shopping cart items are exploded.
So, when a cart item is cloned, ship info is not present in the cloned items (and reservation is not performed etc...).

Not sure it is related but also the sales tax adjustements are not applied to the cloned cart items.



--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-223) CartShipInfo objects are not properly cloned when shopping cart items are exploded.

Nicolas Malin (Jira)
     [ http://issues.apache.org/jira/browse/OFBIZ-223?page=all ]

Jacopo Cappellato reassigned OFBIZ-223:
---------------------------------------

    Assignee: Jacopo Cappellato

> CartShipInfo objects are not properly cloned when shopping cart items are exploded.
> -----------------------------------------------------------------------------------
>
>                 Key: OFBIZ-223
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-223
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: order
>            Reporter: Jacopo Cappellato
>         Assigned To: Jacopo Cappellato
>
> If in the ProductStore, the explodeOrderItems flag is set to Y, during order creation the shopping cart items are exploded: the process is done cloning the original order items (mostly using the the ShoppingCartItem costructor that takes as input a ShoppingCartItem object).
> The problem is that the CartShipInfo objects are not properly cloned when shopping cart items are exploded.
> So, when a cart item is cloned, ship info is not present in the cloned items (and reservation is not performed etc...).
> Not sure it is related but also the sales tax adjustements are not applied to the cloned cart items.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira