@@ -140,7 +141,7 @@ public function transform($value, MigrateExecutableInterface $migrate_executable
...
@@ -140,7 +141,7 @@ public function transform($value, MigrateExecutableInterface $migrate_executable
return$this->configuration['default_value'];
return$this->configuration['default_value'];
}
}
if(empty($this->configuration['bypass'])){
if(empty($this->configuration['bypass'])){
thrownewMigrateSkipRowException();
thrownewMigrateSkipRowException(sprintf("No static mapping found for '%s' and no default value provided for destination '%s'.",Variable::export($value),$destination_property));
$this->setExpectedException(MigrateSkipRowException::class,sprintf("No static mapping found for '%s' and no default value provided for destination '%s'.",Variable::export(['bar']),'destinationproperty'));