Giulio Speri created OFBIZ-12455:
------------------------------------

             Summary: IProduct iventory reservation places orders if 
quantityNotReserved !=0 and requireInventory=Y
                 Key: OFBIZ-12455
                 URL: https://issues.apache.org/jira/browse/OFBIZ-12455
             Project: OFBiz
          Issue Type: Bug
          Components: ecommerce, order
    Affects Versions: 18.12.03, 18.12.02, 18.12.01, 17.12.08, Trunk
         Environment: Linux/Ubuntu 20.04 LTS, Java 8
            Reporter: Giulio Speri
            Assignee: Giulio Speri


The service reserveProductInventoryByFacility simply do nothing in case 
quantityNotReserved value is not 0, but (ProductStore) requireInventory = Y.

Now, no action is taken and quantityNotReserved is simply returned to the 
caller (ie: reserveStoreInventory).

In this scenario an order can be placed despite there is no available inventory 
to fulfill an order item, causing backorder (that we wanted to avoid setting 
requireInventory flag on the ProductStore to Y ).

 

This issue is strictly related to OFBIZ-12264 issue.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to