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

Paul Foxworthy updated OFBIZ-7789:
----------------------------------
    Component/s: product

> ReserveStoreInventory with insufficient inventory
> -------------------------------------------------
>
>                 Key: OFBIZ-7789
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7789
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: Release Branch 13.07, Trunk
>            Reporter: Mirko Vogelsmeier
>             Fix For: Trunk
>
>         Attachments: OFBIZ-7789.patch
>
>
> When trying to reserve inventory for an item that does not have sufficient 
> amount of inventory ( ProductStoreServices#reserveStoreInventory ) no error 
> is thrown. This results in a successfully processed service.
> Following problem occured to us:
> We have a unique product (qoh 1) that is in the current order.
> Using the appendOrderItem on the exact product, does trigger 
> updateCartForUpdate which removes all reservations followed by 
> saveUpdatedCartToOrder that does store all orderItems to the order. Since no 
> error is being thrown due to the insufficient inventory, the product is added 
> to the order twice, although there is not enough inventory.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to