Skip to content

Commit 75e4cb4

Browse files
committed
Use the generic existing constant
Use the existing constant because the constant is not available in the Magento\CatalogImportExport\Model\Import\Product class.
1 parent 2b4951b commit 75e4cb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)