Running a D7 to D8.9.1 migration using migrate_upgrade, the initial configuration migration runs fine but when I run the migrate:import command it hits this error:
[error] The "" plugin does not exist. Valid plugin IDs for Drupal\filter\FilterPluginManager are: editor_file_reference, filter_html_image_secure, filter_url, filter_null, filter_html, filter_autop, filter_align, filter_caption, filter_htmlcorrector, filter_html_escape, media_embed (/var/www/html/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php:53)
[error] The "" plugin does not exist. Valid plugin IDs for Drupal\filter\FilterPluginManager are: editor_file_reference, filter_html_image_secure, filter_url, filter_null, filter_html, filter_autop, filter_align, filter_caption, filter_htmlcorrector, filter_html_escape, media_embed (/var/www/html/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php:53)
[notice] Processed 3 items (1 created, 0 updated, 2 failed, 0 ignored) - done with 'd7_filter_format'
Comments
Comment #2
damienmckennaComment #3
damienmckennaComment #4
damienmckennaAfter some debugging it turned out that the Pathologic module's filter wasn't identified properly, in Drupal\filter\Entity\FilterFormat::filters() its structure ends up like this:
Note: the Pathologic module is not installed in the D8 codebase, so this should be converted to filter_null.
Comment #5
damienmckennaFrom the backtrace:
Comment #6
damienmckennaSo somehow it's going from importing the data with the correct values to saving them with the wrong values.
Comment #7
quietone commentedI think this is a duplicate of #3126063: Harden SubProcess process plugin.
@DamienMcKenna, what do you think?
Comment #8
damienmckennaYes! Thank you.
Comment #9
Christopher Riley commentedShould this patch work with 9.2.0 as well?