Skip to content

Commit 03f6828

Browse files
committed
ACPT-99
1 parent eda7b40 commit 03f6828

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,6 @@ protected function _importData()
316316
} elseif (\Magento\ImportExport\Model\Import::BEHAVIOR_APPEND == $this->getBehavior()) {
317317
$this->saveAdvancedPricing();
318318
}
319-
$this->_dataSourceModel->markProcessedBunches($this->getIds());
320319
return true;
321320
}
322321

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,6 @@ protected function _importData()
11111111
} else {
11121112
$this->_saveProductsData();
11131113
}
1114-
$this->_dataSourceModel->markProcessedBunches($this->getIds());
11151114
$this->_eventManager->dispatch('catalog_product_import_finish_before', ['adapter' => $this]);
11161115
return true;
11171116
}

app/code/Magento/CustomerImportExport/Model/Import/Customer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,6 @@ protected function _importData()
562562
$this->_deleteCustomerEntities($entitiesToDelete);
563563
}
564564
}
565-
$this->_dataSourceModel->markProcessedBunches($this->getIds());
566565
$this->indexerProcessor->markIndexerAsInvalid();
567566
return true;
568567
}

app/code/Magento/ImportExport/Model/Import.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,8 @@ public function importSource()
504504
$this->addLogComment(__('Begin import of "%1" with "%2" behavior', $this->getEntity(), $this->getBehavior()));
505505

506506
$result = $this->processImport();
507-
507+
$this->getDataSourceModel()->markProcessedBunches($ids);
508+
$this->getDataSourceModel()->cleanProcessedBunches();
508509
if ($result) {
509510
$this->addLogComment(
510511
[

0 commit comments

Comments
 (0)