From a1d829889e4ac63e09b324f7dd841b39a51985ac Mon Sep 17 00:00:00 2001 From: mikeryan <mikeryan@4420.no-reply.drupal.org> Date: Wed, 10 Aug 2016 10:17:41 -0500 Subject: [PATCH] Issue #2782113 by mikeryan: Undefined index notice from entity_lookup plugin --- src/Plugin/migrate/process/EntityLookup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugin/migrate/process/EntityLookup.php b/src/Plugin/migrate/process/EntityLookup.php index 5bd991ba..94667c3b 100644 --- a/src/Plugin/migrate/process/EntityLookup.php +++ b/src/Plugin/migrate/process/EntityLookup.php @@ -119,7 +119,7 @@ class EntityLookup extends ProcessPluginBase implements ContainerFactoryPluginIn public function transform($value, MigrateExecutableInterface $migrateExecutable, Row $row, $destinationProperty) { $this->determineLookupProperties($destinationProperty); - $this->destinationProperty = $this->configuration['destination_field']; + $this->destinationProperty = isset($this->configuration['destination_field']) ? $this->configuration['destination_field'] : NULL; return $this->query($value); } -- GitLab