Problem/Motivation

When running migrations after --configure-only, the migrations for field formatter settings, etc were getting errors that about an input parameter can't be null. The error occurs in this line call_user_func([$this->fieldPluginCache[$field_type], $method], $this); in FieldMigration::getProcess(). The method should be the field_plugin_method that is defined in the migration. However, it is never setup in MigrateUpgradeDrushRunner.php.

Proposed resolution

Make a patch etc.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

CommentFileSizeAuthor
#2 2914301-2.patch718 bytesquietone

Comments

quietone created an issue. See original summary.

quietone’s picture

Status: Active » Needs review
StatusFileSize
new718 bytes

And the patch.

olarin’s picture

Status: Needs review » Reviewed & tested by the community

Also encountered this issue. Patch appears to have worked properly for me.

  • heddn committed 6a4a5e8 on 8.x-3.x authored by quietone
    Issue #2914301 by quietone, Olarin: Ensure field_plugin_method are set...
heddn’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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