diff --git a/src/Migration/Step/UrlRewrite/Version11300to2000.php b/src/Migration/Step/UrlRewrite/Version11300to2000.php index c8badcfb5..06b873f7a 100644 --- a/src/Migration/Step/UrlRewrite/Version11300to2000.php +++ b/src/Migration/Step/UrlRewrite/Version11300to2000.php @@ -294,7 +294,6 @@ protected function data() $this->migrateRewrites($records, $destinationRecords); $this->destination->saveRecords($destinationDocument->getName(), $destinationRecords); $this->destination->saveRecords($destProductCategory->getName(), $destProductCategoryRecords); - $this->source->setLastLoadedRecord($sourceDocument->getName(), end($data)); } $this->copyEavData('catalog_category_entity_url_key', 'catalog_category_entity_varchar', 'category'); $this->copyEavData('catalog_product_entity_url_key', 'catalog_product_entity_varchar', 'product'); diff --git a/src/Migration/Step/UrlRewrite/Version11410to2000.php b/src/Migration/Step/UrlRewrite/Version11410to2000.php index bc19ff9ac..a7f771bdc 100644 --- a/src/Migration/Step/UrlRewrite/Version11410to2000.php +++ b/src/Migration/Step/UrlRewrite/Version11410to2000.php @@ -299,7 +299,6 @@ protected function data() $this->migrateRewrites($records, $destinationRecords); $this->destination->saveRecords($destinationDocument->getName(), $destinationRecords); $this->destination->saveRecords($destProductCategory->getName(), $destProductCategoryRecords); - $this->source->setLastLoadedRecord($sourceDocument->getName(), end($data)); } $this->copyEavData('catalog_category_entity_url_key', 'catalog_category_entity_varchar', 'category'); $this->copyEavData('catalog_product_entity_url_key', 'catalog_product_entity_varchar', 'product'); diff --git a/src/Migration/Step/UrlRewrite/Version191to2000.php b/src/Migration/Step/UrlRewrite/Version191to2000.php index a5176b446..73a21633a 100644 --- a/src/Migration/Step/UrlRewrite/Version191to2000.php +++ b/src/Migration/Step/UrlRewrite/Version191to2000.php @@ -219,10 +219,10 @@ protected function data() $destinationRecords->addRecord($destRecord); } + $this->progress->advance(); $this->destination->saveRecords(self::DESTINATION, $destinationRecords); $this->destination->saveRecords(self::DESTINATION_PRODUCT_CATEGORY, $destProductCategoryRecords); - $this->source->setLastLoadedRecord(self::SOURCE, end($bulk)); } $this->saveCmsPageRewrites(); $this->progress->finish();