Migration d6_comment did not meet the requirements

Created on 20 June 2018, almost 7 years ago
Updated 21 June 2023, almost 2 years ago

Problem/Motivation

When running a migration from Drupal 6.x to Drupal 8.6-dev comments fail to migrate with the messages:

SELECT type, message, variables, severity, timestamp FROM watchdog WHERE wid >= 15999 AND message LIKE "%comment%"

type	message	variables	severity	timestamp
migrate_drupal_ui	Upgraded Nodes (comment) (processed 1 item total)	a:0:{}	5	1529484335
migrate_drupal_ui	Upgraded Comment type (processed 22 items total)	a:0:{}	5	1529484338
migrate_drupal_ui	Source ID casetracker_basic_case: Attempt to create a bundle with an ID longer than 32 characters: comment_node_casetracker_basic_case(). (/var/www/html/core/lib/Drupal/Core/Entity/Entity.php:434)	a:0:{}	3	1529484338
migrate_drupal_ui	Attempt to create a bundle with an ID longer than 32 characters: comment_node_casetracker_basic_case(). (/var/www/html/core/lib/Drupal/Core/Entity/Entity.php:434)	a:0:{}	3	1529484338
migrate_drupal_ui	Source ID casetracker_basic_project: Attempt to create a bundle with an ID longer than 32 characters: comment_node_casetracker_basic_project(). (/var/www/html/core/lib/Drupal/Core/Entity/Entity.php:434)	a:0:{}	3	1529484338
migrate_drupal_ui	Attempt to create a bundle with an ID longer than 32 characters: comment_node_casetracker_basic_project(). (/var/www/html/core/lib/Drupal/Core/Entity/Entity.php:434)	a:0:{}	3	1529484338
migrate_drupal_ui	Source ID product_modification: Attempt to create a bundle with an ID longer than 32 characters: comment_node_product_modification(). (/var/www/html/core/lib/Drupal/Core/Entity/Entity.php:434)	a:0:{}	3	1529484338
migrate_drupal_ui	Attempt to create a bundle with an ID longer than 32 characters: comment_node_product_modification(). (/var/www/html/core/lib/Drupal/Core/Entity/Entity.php:434)	a:0:{}	3	1529484338
migrate_drupal_ui	Source ID dbprefi_test_services: Attempt to create a bundle with an ID longer than 32 characters: comment_node_dbprefi_test_services(). (/var/www/html/core/lib/Drupal/Core/Entity/Entity.php:434)	a:0:{}	3	1529484338
migrate_drupal_ui	Attempt to create a bundle with an ID longer than 32 characters: comment_node_dbprefi_test_services(). (/var/www/html/core/lib/Drupal/Core/Entity/Entity.php:434)	a:0:{}	3	1529484338
migrate_drupal_ui	Source ID dbprefi_uc_build_standards: Attempt to create a bundle with an ID longer than 32 characters: comment_node_dbprefi_uc_build_standards(). (/var/www/html/core/lib/Drupal/Core/Entity/Entity.php:434)	a:0:{}	3	1529484338
migrate_drupal_ui	Attempt to create a bundle with an ID longer than 32 characters: comment_node_dbprefi_uc_build_standards(). (/var/www/html/core/lib/Drupal/Core/Entity/Entity.php:434)	a:0:{}	3	1529484338
migrate_drupal_ui	Source ID dbprefi_uc_terms_and_conditions: Attempt to create a bundle with an ID longer than 32 characters: comment_node_dbprefi_uc_terms_and_conditions(). (/var/www/html/core/lib/Drupal/Core/Entity/Entity.php:434)	a:0:{}	3	1529484338
migrate_drupal_ui	Attempt to create a bundle with an ID longer than 32 characters: comment_node_dbprefi_uc_terms_and_conditions(). (/var/www/html/core/lib/Drupal/Core/Entity/Entity.php:434)	a:0:{}	3	1529484338
migrate_drupal_ui	Upgraded Comment field configuration (processed 22 items total)	a:0:{}	5	1529484340
migrate_drupal_ui	Upgraded Comment field instance configuration (processed 22 items total)	a:0:{}	5	1529484341
migrate_drupal_ui	Upgraded Comment display configuration (processed 22 items total)	a:0:{}	5	1529484343
migrate_drupal_ui	Upgraded Comment subject form display configuration (processed 22 items total)	a:0:{}	5	1529484343
migrate_drupal_ui	Upgraded Comment field form display configuration (processed 22 items total)	a:0:{}	5	1529484344
migrate_drupal_ui	Migration d6_comment did not meet the requirements. Missing migrations d6_node:unique_product. requirements: d6_node:unique_product.	a:0:{}	3	1529484344
migrate_drupal_ui	Upgraded Node revisions (comment) (processed 0 items total)	a:0:{}	5	1529484347
migrate_drupal_ui	Upgraded Nodes (comment) (processed 0 items total)	a:0:{}	5	1529485411
migrate_drupal_ui	Upgraded Comment type (processed 0 items total)	a:0:{}	5	1529485413
migrate_drupal_ui	Upgraded Comment field configuration (processed 0 items total)	a:0:{}	5	1529485413
migrate_drupal_ui	Upgraded Comment field instance configuration (processed 0 items total)	a:0:{}	5	1529485413
migrate_drupal_ui	Upgraded Comment display configuration (processed 0 items total)	a:0:{}	5	1529485413
migrate_drupal_ui	Upgraded Comment subject form display configuration (processed 0 items total)	a:0:{}	5	1529485413
migrate_drupal_ui	Upgraded Comment field form display configuration (processed 0 items total)	a:0:{}	5	1529485413
migrate_drupal_ui	Migration d6_comment did not meet the requirements. Missing migrations d6_node:unique_product. requirements: d6_node:unique_product.	a:0:{}	3	1529485413
migrate_drupal_ui	Upgraded Node revisions (comment) (processed 0 items total)	a:0:{}	5	1529485416

Steps to reproduce

Proposed resolution

Closing as a duplicate of #2565931: Handle long comment bundle names β†’ . See #12

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Closed: duplicate

Version

2.0

Component

Ubercart D6

Created by

πŸ‡ΈπŸ‡ͺSweden NiklasBr

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.

  • πŸ‡³πŸ‡ΏNew Zealand quietone

    For unknown reasons I didn't see this in the error output, casetracker_basic_case: Attempt to create a bundle with an ID longer than 32 characters. That explains the 'Missing migrations' message. The migration are 'missing' because the bundle type was not created. That looks like comment type. And that was fixed in core in #2565931: Handle long comment bundle names β†’ in Dec 2021.

    It is unfortunate that I missed that and also that I didn't get back here sooner. This is not a bug in Commerce Migrate but in core. So, let's make this a duplicate of the core one.

  • Status changed to Closed: duplicate almost 2 years ago
Production build 0.71.5 2024