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

exception message for unrecognized source IDs in lookupDestinationIds() should have more detail

$
0
0
    if (!empty($source_id_values)) {
      throw new MigrateException("Extra unknown items in source IDs");
    }

This is not much detail to help a developer track down a problem. The message should:

- list the unknown source IDs. Those are just the array keys in $source_id_values at that point
- state which migration is involved. This is typically called for a migration lookup, so it could be any of a number of migrations that are being used for lookups in the migration actually being run


Viewing all articles
Browse latest Browse all 295840

Trending Articles



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