- Issue created by @somersoft
The problem is not with the code in this module but elsewhere but people are going to start their search for solution here.
In .../core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php:314 it has this code in protected function updateEntity(EntityInterface $entity, Row $row)
foreach ($row->getDestination() as $field_name => $values) {
$field = $entity->$field_name;
if ($field instanceof TypedDataInterface) {
$field->setValue($values);
}
}
The issue is that the field data is not an instance of TypeDataInterface.
data has the user submitted information.
The simplest work around is to rollback the webform_submissions migration and then import them all again.
Change the user entered data on a previously migrated submission and run
`drush migrate:import --update migration_name`
Work with the webform and core teams to provide a solution?
Active
1.0
Code