We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3ab314 commit 879ae1cCopy full SHA for 879ae1c
app/code/Magento/ImportExport/Controller/Adminhtml/Import/Validate.php
@@ -163,7 +163,7 @@ private function addMessageToSkipErrors(Result $resultBlock)
163
*/
164
private function addMessageForValidResult(Result $resultBlock, $totalError, $totalRows)
165
{
166
- if ($this->getImport()->isImportAllowed() && $totalRows > $totalError) {
+ if ($this->getImport()->isImportAllowed() && $totalRows >= $totalError) {
167
$resultBlock->addSuccess(__('File is valid! To start import process press "Import" button'), true);
168
} else {
169
$resultBlock->addError(__('The file is valid, but we can\'t import it for some reason.'));
0 commit comments