Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294415

d7_language_content_comment_settings triggers MigrateException (and fails migration) if the source bundle is longer than 32 chars: use migration_lookup

$
0
0

Problem/Motivation

If the source comment type ID (bundle) is longer 32 characters, then the related language content settings migration d7_language_content_comment_settings triggers MigrateException (and fails migration)

The logged migration message is:

Missing bundle entity, entity type comment_type, entity id comment_node_a_random_node_type_id. ([docroot]/core/lib/Drupal/Core/Entity/EntityType.php:877)

Steps to reproduce

Create a content type with a long bundle name (at least 21 chars), enable translation for this particular type, and migrate.

Proposed resolution

The process pipeline of the target_bundle destination property has to use migration_lookup.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 294415

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>