CatalogImportExport: User needs to specify use_config_backorders = 0 if they want to import product backorders = 0 #39780
Labels
Area: Import / export
Component: Inventory
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Priority: P2
A defect with this priority could have functionality issues which are not to expectations.
Reported on 2.4.7-p4
Indicates original Magento version for the Issue report.
Reproduced on 2.4.x
The issue has been reproduced on latest 2.4-develop branch
Preconditions and environment
Tested on Magento version 2.4.7-p4
Steps to reproduce
Test file:
test_import2.csv
Expected result
Product Backorders is set to "No Backorders"
Actual result
Product Backorders still uses the default configuration value.
Additional information
The issue seems to be here https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/CatalogImportExport/Model/Import/Product.php#L3055
When "backorders" is set to "0", the value is determined to be empty, and the use_config_backorders value is not set.
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: