I have a freshly composer installed Drupal 8.6.13. I tried to migrate csv sources and allways got the error message
[error] Migration failed with source plugin exception: id is defined as a source ID but has no value.
I switched to an example that is running in another installation https://www.drupal.org/docs/8/api/migrate-api/migrate-source-plugins/migrating-data-from-a-csv-source, but still get this error.
My versions: migrate 8.6.13, migrate_plus 8.x-4.1, migrate_source_csv 8.x-2.2, migrate_tools 8.x-4.1
Does anyone have an idea what causes the error?
This are the files:
CSV:
id,title,body
1,title 1,some body text 1
2,title 2,some body text 2
3,title 3,some body text 3
Migration configuration:
id: article_csv_import
label: Import articles
migration_groups:
- ACME import
source:
plugin: csv
path: 'public://articles.csv'
delimiter: ','
enclosure: '"'
header_row_count: 1
keys:
- id
column_names:
0:
id: 'Unique Id'
1:
title: 'Title'
2:
body: 'Post body'
process:
title: title
body: body
type:
plugin: default_value
default_value: article
destination:
plugin: entity:node