[
https://issues.apache.org/jira/browse/OFBIZ-7789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17613700#comment-17613700
]
Giulio Speri commented on OFBIZ-7789:
-------------------------------------
Hello [~vogelsme] , could please check the issue
[OFBIZ-12455|https://issues.apache.org/jira/browse/OFBIZ-12455] and see if your
issue has been solved there?
Thanks,
Giulio
> 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, 22.01.01, Upcoming Branch
> Reporter: Mirko Vogelsmeier
> Priority: Major
> 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
(v8.20.10#820010)