I am using the FireGento_FastSimpleImport2 module to import simple products into my store using the command line. This module passes the array to Magento's core import models. I am facing some issues when importing the products.
When I import the products, the import functionality makes duplicate entry instead of updating existing data for the same product in
cataloginventory_stock_itemif product already exists.
I have explicitly set the behavior of the import as
add_update, but when I trace it in the core import model, it is always
EDIT I have traced this issue, strangely, they are not allowing the
add_updatebehavior for products,
Magento/ImportExport/Model/Import/Entity/AbstractEntity::getBehavior()metod filters out that behavior.
Note: I am using Magento 2.0.7, and I think the
append behavior is the cause of duplicate stock items and URL rewrite error.