D6 migration fails on user_profile_entity display. This is on a test site with 2 users, using profiles and the 'link' profile field.

Importing user_profile_entity_display
The "link_default" plugin does not exist. (/opt/sites/md82/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php:57)                                                                            [error]

Comments

quietone created an issue. See original summary.

quietone’s picture

Title: link_default plugin does not exist » link_default plugin does not exist (d6)
phenaproxima’s picture

Status: Active » Needs review
StatusFileSize
new566 bytes

Does this help?

quietone’s picture

I swear I tried that! Didn't work then but seems to be now.

quietone’s picture

Status: Needs review » Needs work
Issue tags: +Needs tests
phenaproxima’s picture

Status: Needs work » Needs review
Issue tags: -Needs tests
StatusFileSize
new4.98 KB
new5.2 KB
new524 bytes

Behold -- tests! And a fix!

The last submitted patch, 6: 2558931-6-FAIL.patch, failed testing.

The last submitted patch, 6: 2558931-6-FAIL.patch, failed testing.

quietone’s picture

+++ b/core/modules/user/migration_templates/user_profile_entity_display.yml
@@ -39,3 +39,6 @@ process:
+migration_dependencies:
+  required:
+    - user_profile_field_instance

Why is this needed?

/*
    // Migrated URL field.
    $field = FieldConfig::load('user.user.profile_blog');
    $this->assertIdentical('Your blog', $field->label());
    $this->assertIdentical("Paste the full URL, $field->getDescription(), including http://, of your personal blog.");
*/

Shouldn't this test, in MigrateUserProfileFieldInstanceTest.php, be restored as part of this issue?

quietone’s picture

StatusFileSize
new6.44 KB
new1.68 KB

Something like this.

mikeryan’s picture

Status: Needs review » Reviewed & tested by the community

Looks good!

  • webchick committed 560db5b on 8.0.x
    Issue #2558931 by phenaproxima, quietone: link_default plugin does not...
webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.0.x. Thanks!

Status: Fixed » Closed (fixed)

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

giuliovale’s picture

.