Problem/Motivation

Trying to edit a field mapping at /admin/config/system/entity-importer/IMPORTER_ID/field-mapping leads to the following error if entity_import_plus is installed:

TypeError: Drupal\migrate\Plugin\MigrateDestinationPluginManager::createInstance(): Argument #2 ($configuration) must be of type array, null given, called in /var/www/html/web/core/modules/migrate/src/Plugin/Migration.php on line 449 in Drupal\migrate\Plugin\MigrateDestinationPluginManager->createInstance() (line 61 of core/modules/migrate/src/Plugin/MigrateDestinationPluginManager.php).

Drupal\migrate\Plugin\Migration->getDestinationPlugin() (Line: 175)
Drupal\migrate_plus\Plugin\migrate\process\EntityLookup::create() (Line: 78)
Drupal\migrate_plus\Plugin\migrate\process\EntityGenerate::create() (Line: 45)
Drupal\entity_import_plus\Plugin\migrate\process\EntityImportPlusEntityGenerate::create() (Line: 67)
Drupal\migrate\Plugin\MigratePluginManager->createInstance() (Line: 62)
Drupal\entity_import\EntityImportProcessManager->createPluginInstance() (Line: 96)
Drupal\entity_import\EntityImportProcessManager->getPluginInstances() (Line: 72)
Drupal\entity_import\EntityImportProcessManager->getMigrationProcessInfo() (Line: 557)
Drupal\entity_import\Form\EntityImporterFieldMappingForm->getMigrationProcessingInfo() (Line: 168)
Drupal\entity_import\Form\EntityImporterFieldMappingForm->form() (Line: 107)
Drupal\Core\Entity\EntityForm->buildForm()
call_user_func_array() (Line: 528)
Drupal\Core\Form\FormBuilder->retrieveForm() (Line: 279)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 73)
Drupal\Core\Controller\FormController->getContentResult()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 183)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 116)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 90)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 53)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 715)
Drupal\Core\DrupalKernel->handle() (Line: 19)

This was introduced in https://git.drupalcode.org/project/entity_import/-/commit/8870414b241b58....

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

boromino created an issue. See original summary.

boromino’s picture

Issue summary: View changes

boromino’s picture

Status: Active » Needs review

tobiasb made their first commit to this issue’s fork.

  • tobiasb committed c132e152 on 8.x-1.x authored by boromino
    fix: #3559253 TypeError when adding/editing a field mapping
    
    By:...
tobiasb’s picture

Status: Needs review » Fixed

Thanks. Merged.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • tobiasb committed c132e152 on entity_import_csv-test authored by boromino
    fix: #3559253 TypeError when adding/editing a field mapping
    
    By:...

Status: Fixed » Closed (fixed)

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