-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Component: ImportExportFixed in 2.2.xThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.2 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedProgress: needs update
Description
url_redirect value is overrrided by each product import, even if it is not wanted
Preconditions
- Tested on Magento 2.2
Steps to reproduce
- Add some products to your instance
- Change url_key for one of them
- Import a file (append behavior) with only two columns : sku,price (including the previous product)
Expected result
- Prce is updated, url_key is not changed
Actual result
- Price is updated, but url_key is empty
The problem is that url_key is always generated by import, because of this addition :
ebc946a
In the past (before 2.2, the url_key value was stripped by the function :
\Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType::clearEmptyData
But now, since there was a modification from "empty" to "!isset", the '' (empty) value is not stripped.
syno-dlr, didjiz and startupz
Metadata
Metadata
Assignees
Labels
Component: ImportExportFixed in 2.2.xThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.2 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedProgress: needs update