D7 comment migration does not properly migrate fields by comment bundle.

Created on 10 October 2018, almost 7 years ago
Updated 23 May 2025, 4 months ago

Problem/Motivation

The Drupal 7 comment migration migrates all comments in one go, adding processes for every field instance for any entity type to the migration. This can cause a lot of bugs that the current tests do not cover, including mismatched field names, wrong or missing field plugins, etc.

Proposed resolution

The comment migrations should be patterned after nodes and taxonomy as bundleable fieldable entities.

The duplicate issue #3052117: Unable to edit view mode post migration β†’ has workarounds.

Remaining tasks

Update Known issues when upgrading from Drupal 6 or 7 to Drupal 9 or higher β†’
Write failing tests around the current implementation.
Get #2951550: Make service for field discovery for use in migrate entity derivers β†’ into core and use that service for field discovery.
Create a D7CommentDeriver patterned after the D7 node deriver.
Eliminating/deprecating the D7Comment migration.

User interface changes

none

API changes

none

Data model changes

none

πŸ› Bug report
Status

Postponed

Version

11.0 πŸ”₯

Component

migration system

Created by

πŸ‡ΊπŸ‡ΈUnited States mikelutz Michigan, USA

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