diff -u b/core/modules/migrate/src/Plugin/migrate/id_map/Sql.php b/core/modules/migrate/src/Plugin/migrate/id_map/Sql.php --- b/core/modules/migrate/src/Plugin/migrate/id_map/Sql.php +++ b/core/modules/migrate/src/Plugin/migrate/id_map/Sql.php @@ -753,8 +753,6 @@ * Implementation of Iterator::rewind(). * * This is called before beginning a foreach loop. - * - * @todo Support itemlimit. */ public function rewind() { $this->currentRow = NULL; @@ -765,13 +763,6 @@ foreach ($this->destinationIdFields() as $field) { $fields[] = $field; } - - // @todo Make this work. - /* - if (isset($this->options['itemlimit'])) { - $query = $query->range(0, $this->options['itemlimit']); - } - */ $this->result = $this->getDatabase()->select($this->mapTableName(), 'map') ->fields('map', $fields) ->execute(); @@ -823,7 +814,6 @@ * and FALSE to terminate it. */ public function valid() { - // @todo Check numProcessed against itemlimit. return $this->currentRow !== FALSE; } reverted: --- b/core/modules/user/tests/src/Unit/Migrate/d6/ProfileFieldTest.php +++ a/core/modules/user/tests/src/Unit/Migrate/d6/ProfileFieldTest.php @@ -24,6 +24,8 @@ protected $migrationConfiguration = [ // The id of the entity, can be any string. 'id' => 'test_profile_fields', + // Leave it empty for now. + 'idlist' => [], 'source' => [ 'plugin' => 'd6_profile_field', ],