Skip to content

Commit 51db228

Browse files
committed
ACP2E-4057: The product import process encounters an error if a multi-select attribute is configured as required
1 parent 0bf03f1 commit 51db228

File tree

1 file changed

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

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ private function validateRequiredAttributeValue(string $attrCode, array $rowData
214214
return !empty(trim($value));
215215
});
216216
return !empty($filteredArray)
217-
&& count($filteredArray) > 0
218217
&& !in_array($emptyConstant, array_map('trim', $rowData[$attrCode]), true);
219218
}
220219
return isset($rowData[$attrCode])

0 commit comments

Comments
 (0)