Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 296136

Migration Lookup plugin does not return multiple values when matched and uses deprecated method

$
0
0

The Migration Lookup plugin relies on deprecated method MigrateIdMapInterface::lookupDestinationId(), which passes control over to MigrateIdMapInterface::lookupDestinationIds(), then filters out all but the first value returned.

This causes multiple-valued migration lookups to always match only one item.

The attached patch uses lookupDestinationsIds() directly and corrects this behavior.


Viewing all articles
Browse latest Browse all 296136

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>