Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I tried enabling menu to import a site from d6, and 3 out of 6 of my menu elements were imported. I ran
update menu_links set customized=1 where menu_name="menu-ASDF";
on the database prior to reimporting and everything went smooth, all the menus got in.
I see in the code that the query in src/Plugin/migrate/source/MenuLink.php requires that customized=1, but old instances of drupal 6 will have some of the menus created by hand with customized=0. Maybe just point it out in the documentation on importation that this might be needed.
Comments
Comment #2
dawehnerLet's move to migrate, where it belongs more.
Comment #3
quietone CreditAttribution: quietone as a volunteer commentedComment #4
quietone CreditAttribution: quietone as a volunteer commentedWill this be true even if the site has been updated to the latest minor version? I don't see anything that would update that field but I not very familiar with Drupal 6 or the menu system.
If yes, then this should probably be documented on the known issues page. However, if not, then there is no need to document because the general principle for a major version upgrade of a Drupal site, is that the source site is already upgraded to the latest minor version.
Comment #5
boran CreditAttribution: boran commentedI also tried a D6 site import and the menu items did not show up on the D8 site.
Looking in the DB, customized is 1 for these entries (select link_path,link_title,customized from menu_links where menu_name like 'primary-links')
However it turned out that the menu is being pulled over (can be seen in admin/structure/menu/manage/primary-links), so one just had to place the primarylinks block in the right region and its shows up.
So, just mentioning this in case others go looking in the wrong place (DB) when their menu dont appear :-)
Comment #6
quietone CreditAttribution: quietone as a volunteer commentedComment #9
heddnReviewed this in a our weekly migrate meeting. Upgrading to the most recent D6 is an expectation prior to migrating to D8. If someone can reproduce this, please re-open and provide some steps and versions.