Score:1

Commerce Migrate module not listed in migrations

st flag

I installed the Commerce Migrate module, and its submodules, commerce_migrate_commerce and csv_example. When I run drush migrate:status, I see the migrations for the csv_example listed but none of the commerce_migrate_commerce ones?

I likely will have to write my own migration anyways, but I was confuse at this discrepancy.

enter image description here

Score:2
st flag

I figured it out. In MigrateToolsCommands.php, we have the following code: enter image description here

If you dig into the error for the migrations in question, I see the error of No database connection configured for source plugin variable. When an item fails the checkRequirements(), it simply is not displayed in the list.

In SqlBase.php

enter image description here

it sets the default migration database as migrate. Being that the migrations themselves do not specify a key (since that is really site specific), it would rely on the default one, which I did not have set up in my settings.php.

EDIT: I also found out one more issue: even AFTER I had set up a migrate database source key, it still wasn't working. I found that this modules is ONLY meant to migrate from D7. You can see this from the fact that that during the requirements check, it looks for existance of the system table, which only exists in d7.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.