0

How can I get the body migrated as well? When I compared this with other working migrations, there didn't seem to be any differences in the code/anything wrong with mine. I also looked for alternative process plugins but "sub_processes" seems to be working for everyone else just fine.

label: Generic - Node
migration_group: edweb_gen
migration_tags:
  - 'edweb_generic'

source:
  plugin: d7_node
  key: migrate
  node_type: generic

process:
  nid: tnid
  vid: vid
  title: title
  uid: node_uid
  status: status
  created: created
  body:
    plugin: sub_process
    source: body
    process:
      value: value
      summary: summary
      format:
        plugin: static_map
        bypass: true
        source: format
        # format - 'destination': source
        map:
          'plain_text': basic_html
          'basic_tags': basic_html
          'minimal_formatting': basic_html
          'filtered_html': basic_html
          'extended_tags': full_html
          'full_html': full_html
          'uoe_text_format': full_html

destination:
  plugin: 'entity:node'
  default_bundle: generic_content
3

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.