I've been working on a Drupal 6 to 8 migration. The Drupal 6 site includes Ubercart. I have a variety of Commerce modules enabled on the Drupal 8 site including Commerce Migrate and Commerce Migrate Ubercart. When attempting to migrate the field instances, all were ignored including fields related to non-Commerce content. I started a new migration without any Commerce modules enabled and the field instances migrated just fine. I've been using version 2.0-beta9.
Comments
Comment #2
rprager commentedI believe this might be caused by this issue: https://www.drupal.org/project/commerce_migrate/issues/3035879
Comment #3
rprager commentedAfter trying to migrate field instances, I checked the migrate_map_upgrade_d6_field_instance table and found that the destid1, destid2, and destid3 columns were null for all records.
Any idea why I can't migrate fields? I need some help ASAP.
Comment #4
quietone commentedJust a bit of triage.
Off the top of my head I don't have an idea why the migration of all the field instances failed. The first field migration is d6_field. Is the migrate map for d6_field populated? If so, did they all succeed or did some fail. Which were the failures and which ones are the successes?
Comment #5
quietone commentedComment #6
damienmckennaStreamlining related issues.
I think the D7 issue should be fixed first, given there's a WIP patch, then see what's left for this one.
Comment #7
damienmckennaComment #8
Würden commentedI am also seeing this bug working on a D6 to D8 migration including ubercart. Fields are migrated but they are not attached to any entities afterwards. Not only are fields not attached to product entities, no node types get fields attached.
So I guess there is a bug somewhere in the commerce_migrate module, I also think the generated YAML looks somewhat odd. Here is an example:
Without commerce_migrate installed, it looks more like this:
My best solution right now is to create two migration groups and run the separately in a custom module one for commerce migration and another for everything else.