This repository was archived by the owner on Apr 29, 2019. It is now read-only.
This repository was archived by the owner on Apr 29, 2019. It is now read-only.
ImportExport: BEHAVIOR_REPLACE deletes products? #89
Open
Description
From @paales on August 4, 2016 14:51
Preconditions
- Magento 2.1.0
Steps to reproduce
- Import Product with BEHAVIOR_REPLACE set
- Import Product with BEHAVIOR_REPLACE set again
Expected result
- Same product ID is used, but all the values provided by the import are replaced
Actual result
- Product gets deleted and recreated...
It REALLY shouldn't delete the product because all other information related to this product gets lost. If a merchant has written anything store view specific, we want to retrieve reports by product ID, reviews placed on this product, etc.
I'm not sure how something like this happened, the BEHAVIOR_REPLACE doesn't mean replace the product, it means, replace complex values like custom options, configurable products or category associations (wtf?).
I will update this issue with suggestions how to solve this mess and how to solve the importer issues.
Copied from original issue: magento/magento2#5993
Activity