Migration of d7 messages with additional fields

Created on 4 May 2023, about 1 year ago
Updated 3 November 2023, 8 months ago

Problem/Motivation

My d7 messages have additional fields defined referencing node and comment. The default MessageSource migrate plugin doesn't make data from these fields available during migration.

Proposed resolution

By switching from DrupalSqlBase to FieldableEntity and adding a prepareRow() function I was able to bring in d7 node reference and comment reference fields and map them in my migration yaml.

✨ Feature request
Status

Fixed

Version

1.4

Component

Code

Created by

πŸ‡³πŸ‡ΏNew Zealand jonathan_hunt

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

Comments & Activities

Production build 0.69.0 2024