Skip to content

Commit

Permalink
Revert "MAGETWO-99323: [GitHub] Incorrect url rewrite record pagination
Browse files Browse the repository at this point in the history
#682"

This reverts commit 6be6bde
  • Loading branch information
victor-v-rad committed Apr 23, 2019
1 parent 6be6bde commit c43e10f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/Migration/Step/UrlRewrite/Version11300to2000.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
1 change: 0 additions & 1 deletion src/Migration/Step/UrlRewrite/Version11410to2000.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion src/Migration/Step/UrlRewrite/Version191to2000.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit c43e10f

Please sign in to comment.