You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @adarshkhatri. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
inventory_reservation
table for that order and SKU:Actual result (*)
inventory_reservation
table and that is for reservationcompensation
entry is created.The actual issue
When system is trying to create the compensation it tries to gather the qty info for that product.
inventory/InventorySourceSelectionApi/Model/Algorithms/Result/GetDefaultSortedSourcesResult.php
Line 116 in 132d98c
In this line you can see it is going to set
$qtyToDeduct
to 0 as we have set 0 in the product level.inventory/InventoryShipping/Model/SourceDeductionRequestsFromSourceSelectionFactory.php
Line 101 in 132d98c
And because of this system cannot mark any source to deduct which is why it will never compensate them.
Because of this, there are so many entries in the reservation table that will stay there forever.
The text was updated successfully, but these errors were encountered: