[
https://issues.apache.org/jira/browse/OFBIZ-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun Patidar updated OFBIZ-223:
-------------------------------
Attachment: OFBIZ-223.patch
Attached is a patch to fix the issue of explode order items. I followed below steps to test:
- Set productStore.explodeOrderItems = 'Y'
- Place an order with item qty more than 1
After placing order, we see that all items has been exploded and qty of each item set to 1.
> CartShipInfo objects are not properly cloned when shopping cart items are exploded.
> -----------------------------------------------------------------------------------
>
> Key: OFBIZ-223
> URL:
https://issues.apache.org/jira/browse/OFBIZ-223> Project: OFBiz
> Issue Type: Bug
> Components: order
> Reporter: Jacopo Cappellato
> Attachments: OFBIZ-223.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)