menu links migration

Created on 18 August 2021, almost 3 years ago
Updated 18 February 2023, over 1 year ago

Problem/Motivation

Hi everyone,

I'm trying to migrate Drupal 7 menu links to a Drupal 9 fresh new site.

I'm using migrate_upgrade & migrate_tools to achieve my goal.

The firthchild module for D7 use a keyword in the link field and the D9 and probably D8 versions are using a checkbox.
So there's no logic when using the migrating tools and the process fail.

I can't find a solution how to map such different logic in my migration process. I know how to alter the migration configuration, but how to manage this particularity, I really don't know.

Any help will be greatly appreciated.
Thank's for reading,

Gilles

πŸ’¬ Support request
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡«πŸ‡·France coolidfrez

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.

  • πŸ‡ΊπŸ‡ΈUnited States pingevt

    Not sure if this is still an issue... but in the d8+ version we are setting a link option. You can see this in the code in the module file, and menu_firstchild_menu_link_content_form_validate().

    I would suggest creating migration filter that would check for the url in the source3 and sets that option on the destination Menu Link Item.

    If this is still an Issue, please re-open.

Production build 0.69.0 2024