Paragraphs migration example?

Created on 3 August 2018, over 6 years ago
Updated 3 July 2024, 9 months ago

I'm trying to migrate nodes from Drupal 7 to Drupal 8 with paragraphs fields, but I can't seem to get the configuration right.

I believe I have a functioning custom source plugin for d7 paragraphs, because when I run it, it correctly (as far as I can tell) migrates paragraphs, but I'm having trouble with migrating the reference relationship when I migrate the nodes.

I see in comments on other issues relating to the migration of paragraphs fields that others are successfully migrating paragraphs fields, but I can't seem to figure out how to structure my node migration to establish the relationship.

This is my migrate_node_page migration. It migrates the nodes, and gets other relationship fields like taxonomy terms, but the paragraphs are just missing:

.
.
.
process:
  .
  .
  .
  field_paragraphs:
    plugin: iterator
    source: field_paragraphs
    process:
      target_id: 
        plugin: migration_lookup
        migration: migrate_paragraph_items
        source: target_id
.
.
.

Does anyone see what I'm doing wrong?

πŸ“Œ Task
Status

Active

Version

1.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States safetypin Memphis, Tennessee

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024