Skip to content

Commit 7aa367b

Browse files
author
Sergey Semenov
committed
MAGETWO-62947: Can't ignore errors during customer Import
1 parent b07994e commit 7aa367b

File tree

1 file changed

+1
-3
lines changed
  • app/code/Magento/ImportExport/Controller/Adminhtml/Import

1 file changed

+1
-3
lines changed

app/code/Magento/ImportExport/Controller/Adminhtml/Import/Validate.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,7 @@ private function getImport()
132132
private function addMessageToSkipErrors(Result $resultBlock)
133133
{
134134
$import = $this->getImport();
135-
if ($import->getValidationStrategy() == ProcessingErrorAggregatorInterface::VALIDATION_STRATEGY_SKIP_ERRORS
136-
&& !$import->getErrorAggregator()->hasFatalExceptions()
137-
) {
135+
if (!$import->getErrorAggregator()->hasFatalExceptions()) {
138136
$resultBlock->addSuccess(
139137
__('Please fix errors and re-upload file or simply press "Import" button to skip rows with errors'),
140138
true

0 commit comments

Comments
 (0)