Skip to content

Commit 40a12ad

Browse files
author
Leonid Poluyanov
committed
Merge commit 'refs/pull/1274/head' of https://github.com/magento/magento2 into MAGETWO-37499
2 parents b4eb24a + 75e4cb4 commit 40a12ad

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1682,6 +1682,7 @@ protected function _saveValidatedBunches()
16821682
}
16831683
$rowData = $source->current();
16841684
$this->validateRow($rowData, $source->key());
1685+
$this->_processedRowsCount++;
16851686
$source->next();
16861687
}
16871688
$this->getOptionEntity()->validateAmbiguousData();

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public function isRowValid(array $rowData, $rowNum, $isNewProduct = true)
270270
))
271271
) {
272272
$this->_entityModel->addRowError(
273-
\Magento\CatalogImportExport\Model\Import\Product::ERROR_VALUE_IS_REQUIRED,
273+
\Magento\CatalogImportExport\Model\Import\Product\RowValidatorInterface::ERROR_VALUE_IS_REQUIRED,
274274
$rowNum,
275275
$attrCode
276276
);

0 commit comments

Comments
 (0)