File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
CatalogImportExport/Model/Import Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -1649,11 +1649,8 @@ protected function _saveProducts()
1649
1649
continue ;
1650
1650
}
1651
1651
if ($ this ->getErrorAggregator ()->hasToBeTerminated ()) {
1652
- $ validationStrategy = $ this ->_parameters [Import::FIELD_NAME_VALIDATION_STRATEGY ];
1653
- if (ProcessingErrorAggregatorInterface::VALIDATION_STRATEGY_SKIP_ERRORS !== $ validationStrategy ) {
1654
- $ this ->getErrorAggregator ()->addRowToSkip ($ rowNum );
1655
- continue ;
1656
- }
1652
+ $ this ->getErrorAggregator ()->addRowToSkip ($ rowNum );
1653
+ continue ;
1657
1654
}
1658
1655
$ rowScope = $ this ->getRowScope ($ rowData );
1659
1656
Original file line number Diff line number Diff line change @@ -621,10 +621,6 @@ public function validateSource(\Magento\ImportExport\Model\Import\AbstractSource
621
621
$ this ->addLogComment ($ messages );
622
622
623
623
$ result = !$ errorAggregator ->getErrorsCount ();
624
- $ validationStrategy = $ this ->getData (self ::FIELD_NAME_VALIDATION_STRATEGY );
625
- if ($ validationStrategy === ProcessingErrorAggregatorInterface::VALIDATION_STRATEGY_SKIP_ERRORS ) {
626
- $ result = true ;
627
- }
628
624
629
625
if ($ result ) {
630
626
$ this ->addLogComment (__ ('Import data validation is complete. ' ));
You can’t perform that action at this time.
0 commit comments