Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Using Drupal 8.2.2, migrate-upgrade 8.x-3.0-rc1 throws this "error" during the migration:
drush -v migrate-upgrade --legacy-db-key=d6 --legacy-root=$(realpath ../drupal6/)
[...]
The "link" plugin does not exist. (core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php:52)
Issue #2767237: Files not attached to nodes using drush migrate-import contains information about a similar issue.
Is it safe to ignore?
Comments
Comment #2
drzraf CreditAttribution: drzraf commentedComment #3
drzraf CreditAttribution: drzraf commentedComment #4
drzraf CreditAttribution: drzraf commentedComment #5
drzraf CreditAttribution: drzraf commentedGot it in the context of
drush mi --all
too:I do have a source_ids_hash using
drush mmsg upgrade_d6_field_instance_widget_settings
, but don't know how to go further in order to provide more information to this bug report.Comment #6
drzraf CreditAttribution: drzraf commentedReferencing #2558931: link_default plugin does not exist (d6)
Comment #7
drzraf CreditAttribution: drzraf commentedmaybe related #2831531: Improved the exception message in d6/FieldTypeDefaults
Comment #8
drzraf CreditAttribution: drzraf commentededited
Comment #9
drzraf CreditAttribution: drzraf commentedSince its about Drupal 8.2.2, referencing #2683435: CCK does not exist in Drupal 7, rename Migrate's cckfield plugins to field plugins (currently open), and #2726803: Field formatters with names different than their field type can not be migrated which is also about field formatters, but specifically for D7.
Comment #10
drzraf CreditAttribution: drzraf commentededited
Comment #11
drzraf CreditAttribution: drzraf commentedTracing
WidgetPluginManager.php -> createInstance($plugin_id...)
And
var_dump($definitions) + stacktrace
insideDiscoveryTrait.php
:Comment #12
albertski CreditAttribution: albertski at Xeno Media, Inc. commentedWere you able to get around this? I'm getting the same errors.
Comment #13
drzraf CreditAttribution: drzraf commentedSadly no, but note that running migrations from command line is more buggy than from the UI (but that's another open bug I guess)
Comment #14
albertski CreditAttribution: albertski at Xeno Media, Inc. commentedActually, I found a fix.
I added:
link: link_default
to options/type - map inmigrate_plus.migration.upgrade_d6_field_instance_widget_settings.yml
.Comment #15
mikeryanCan anyone reproduce this currently?
Thanks.
Comment #16
drzraf CreditAttribution: drzraf commentedWhich D6 table's dump are you interested in?
Comment #17
heddn