Active
Project:
WordPress Migrate
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 May 2025 at 08:58 UTC
Updated:
15 Mar 2026 at 18:59 UTC
Jump to comment: Most recent
After installing the module, there is a default migration, so after you create your own migration, there will be two migrations.
There may be good reasons for this, I am not sure ... but it can leave the user puzzled, seeing two migrations (default and the user created, "real" migration my_wp) ...
$ drush migrate:status
------------------------------------- --------------------------- -------- -------...
Group Migration ID Status Total ...
------------------------------------- --------------------------- -------- -------...
Default (default) wordpress_content Idle 0 ...
Default (default) wordpress_tags Idle 0 ...
Default (default) wordpress_categories Idle 0 ...
Default (default) wordpress_attachments Idle 0 ...
Default (default) wordpress_comment Idle 0 ...
Default (default) wordpress_authors Idle 0 ...
...
Imports from WordPress site (my_wp) my_wordpress_attachments Idle 54 ...
Imports from WordPress site (my_wp) my_wordpress_authors Idle 19 ...
Imports from WordPress site (my_wp) my_wordpress_categories Idle 91 ...
Imports from WordPress site (my_wp) my_wordpress_comment_post Idle 30 ...
Imports from WordPress site (my_wp) my_wordpress_content_page Idle 2 ...
Imports from WordPress site (my_wp) my_wordpress_content_post Idle 24 ...
Imports from WordPress site (my_wp) my_wordpress_tags Idle 0 ...
Imports from WordPress site (my_wp) my_wordpress_comment_page Idle 30 ...
------------------------------------- --------------------------- -------- -------...
If possible, do not create "Default (default)" migration after installation, to keep things simple?
| Comment | File | Size | Author |
|---|
Comments
Comment #2
hongpong commentedif there are an extra set of migrations altogether that should not be created AFAIK. hmmm
Comment #3
ressaThe Drush command is being taken care of in #3578768: drush migrate:import --all fails due to Migrate Tools regression :)
Though, I am still puzzled over seeing two migrations (
defaultand the real migrationmy_wp) ...But maybe that's the expected behaviour?
Comment #4
hongpong commentedMigrationGroup::create($group_configuration)->save();
is getting called when it should not be, there is something wrong with the execution flow in the migration generator file. imo that is what causes the default.
Comment #5
ressaThanks for looking at this so quickly. I'll re-phrase the issue to focus on the "Default (default)" migration created after installation.