Hello, I stumbled upon a fatal error when writing a blog post on using Migrate Plus to manage migrations from the user interface. The demo module I am using can be found at https://github.com/dinarcon/ud_migrations It is the ud_migrations_config_group_csv_source submodule.

The error is:

Error: Call to undefined method Drupal\migrate_source_csv\Plugin\migrate\source\CSV::getFile() in Drupal\migrate_tools\Form\SourceCsvForm->buildForm() (line 216 of /var/www/drupalvm/drupal/web/modules/contrib/migrate_tools/src/Form/SourceCsvForm.php)

The SourceCsvForm form calls the getFile function in the CSV source plugin class. This function existed in the 8.x-2.x branch of Migrate Source CSV. There were major changes that went into the 8.x-3.x branch of the module. One of them is that the function no longer exists, causing a fatal error when trying to access the user interface to edit alter column_names for CSV source files.

Comments

dinarcon created an issue. See original summary.

heddn’s picture

Status: Active » Fixed

I've removed this feature from the module in 5x branch. That makes this fixed in a way.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.