Skip to content

Commit bb70446

Browse files
committed
MAGETWO-95825: [Magento cloud] - Images revert to default placeholder on import
- Removing invalid image attributes from row
1 parent f710f9b commit bb70446

File tree

1 file changed

+1
-0
lines changed
  • app/code/Magento/CatalogImportExport/Model/Import

1 file changed

+1
-0
lines changed

app/code/Magento/CatalogImportExport/Model/Import/Product.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1782,6 +1782,7 @@ protected function _saveProducts()
17821782
if ($uploadedFile) {
17831783
$uploadedImages[$columnImage] = $uploadedFile;
17841784
} else {
1785+
unset($rowData[$column]);
17851786
$this->addRowError(
17861787
ValidatorInterface::ERROR_MEDIA_URL_NOT_ACCESSIBLE,
17871788
$rowNum,

0 commit comments

Comments
 (0)