-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Component: ImportExportIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentProgress: needs updatebug report
Description
When importing products "add update" behaviour is shown among the other options, but if selected the import is done in "append" mode.
Preconditions
- Magento 2.1.4
Steps to reproduce
- Create a csv with a couple of products
- Put a breakpoint on \Magento\ImportExport\Model\Import\Entity\AbstractEntity::getBehavior
- select "add update" import mode and import your csv
Expected result
- \Magento\ImportExport\Model\Import\Entity\AbstractEntity::getBehavior should return "add_update"
Actual result
- Import mode is changed to "append"
This happens because of the check that doesn't allow "add_update" as a valid method.
slackerzz
Metadata
Metadata
Assignees
Labels
Component: ImportExportIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentProgress: needs updatebug report