Does Domain Access supports the Migration from D7 to D9/D10 ?

Created on 27 June 2023, over 1 year ago

Drupal Version

9.5.9

Domain module version

8.x-1.0-beta8

Expected Behavior

[What did you try to do? What URL did you use to do it?]
I am in middle of Migration from D7 to D9. My Node YAML file looks like :

id: my7_article_node
label: Nodes
audit: true
migration_tags:
  - Drupal 7
  - Content
#deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
source:
  plugin: d7_node
  # Define which Content Type, nodes to be migrated From.
  node_type: article
process:
  # If you are using this file to build a custom migration consider removing
  # the nid and vid fields to allow incremental migrations.
  # In D7, nodes always have a tnid, but it's zero for untranslated nodes.
  # We normalize it to equal the nid in that case.
  # @see \Drupal\node\Plugin\migrate\source\d7\Node::prepareRow().
  nid: tnid
  vid: vid
  langcode:
    plugin: default_value
    source: language
    default_value: "und"
  title: title
  body: body
  field_domain_access: domain
  uid: node_uid
  status: status
  created: created
  changed: changed
  promote: promote
  sticky: sticky
  revision_uid: revision_uid
  revision_log: log
  revision_timestamp: timestamp
destination:
  plugin: entity:node
  # Define which Content Type, nodes to be migrated To.
  default_bundle: article
migration_dependencies:
  required:
    - my7_user
    - d7_domain
#    - my7_node_type
  optional:
    - my7_field_instance
    - my7_comment_field_instance

Here, I have enabled the domain access for my nodes and I have total 8 domain out of which user can select any number of domains to assign to the node.

All the fields of nodes are getting migrated which I have manually added into the content type except the domain access.

The command I use to migrate the nodes are :
$ drush mim my7_article_node

Actual Behavior

[What actually happened?]
The Nodes gets migrated but domain doesn't get assigned to the migrated nodes.

Steps to reproduce

[A bullet list of steps to reproduce the error. Note if the error always happens or sometimes happens.]

  1. Execute command : $ drush mim my7_article_node
  2. Check for the Migrated Nodes.
  3. No domain access assigned to the node.
๐Ÿ’ฌ Support request
Status

Active

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia sandip27

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

Comments & Activities

Production build 0.71.5 2024