Skip to content
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
@piotrekkaminski

Description

@piotrekkaminski

From @paales on August 4, 2016 14:51

Preconditions

  1. Magento 2.1.0

Steps to reproduce

  1. Import Product with BEHAVIOR_REPLACE set
  2. Import Product with BEHAVIOR_REPLACE set again

Expected result

  1. Same product ID is used, but all the values provided by the import are replaced

Actual result

  1. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions