[
https://issues.apache.org/jira/browse/OFBIZ-6221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Carlow updated OFBIZ-6221:
------------------------------------
Attachment: OFBIZ-6221.patch
This patch is a starting point for this issue. It basically prevents ShoppingCart.checkShipItemInfo() from removing the order item ship group association if set to 0 which was removing it from the OrderServices.saveUpdatedCartToOrder() update list. I say its a starting point because it potentially violates the attempt to track cancel quantity. Order item quantity change functionality in general probably needs to have more sophistication built in especially when dealing with multiple ship groups.
> Updating order item ship group quantity to 0 updates order item quantity but not ship group quantity
> ----------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-6221
> URL:
https://issues.apache.org/jira/browse/OFBIZ-6221> Project: OFBiz
> Issue Type: Bug
> Components: order
> Affects Versions: Trunk
> Reporter: Christian Carlow
> Attachments: OFBIZ-6221.patch
>
>
> To reproduce:
> 1. Create and finalize an order with multiple ship groups and assign quantities of a single item to them
> 2. Click "Edit Items" and update one of the ship group quantities to 0
> 3. Notice the order item total changed to reflect the 0 quantity but the ship group quantity remains the same
> Since the ship group isn't updated correctly, it still appears with a cancel button which when clicked causes even more discrepancies.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)