+++ b/core/modules/migrate/src/Plugin/migrate/id_map/Sql.php
@@ -183,20 +186,...

Contribution Date
Technology
Contribution Project
Contribution Details
+++ b/core/modules/migrate/src/Plugin/migrate/id_map/Sql.php @@ -183,20 +186,7 @@ public static function create(ContainerInterface $container, array $configuratio - // When looking up the destination ID we require an array with both the - // source key and value, e.g. ['nid' => 41]. In this case, $source_id_values - // need to be ordered the same order as $this->sourceIdFields(). - // However, the Migration process plugin doesn't currently have a way to get - // the source key so we presume the values have been passed through in the - // correct order. - if (!isset($source_id_values[0])) { - $source_id_values_keyed = []; - foreach ($this->sourceIdFields() as $field_name => $source_id) { - $source_id_values_keyed[] = $source_id_values[$field_name]; - } - $source_id_values = $source_id_values_keyed; - } - return hash('sha256', serialize(array_map('strval', $source_id_values))); + return hash('sha256', serialize(array_map('strval', array_values($source_id_values))));

Removing this change mentioned by Mike.

Contribution Author
Files count
2
Patches count
1