Menu Link issues for book migration from d6/7 with hierarchy

Created on 11 August 2021, almost 4 years ago
Updated 23 May 2025, about 1 month ago

Problem/Motivation

I've seen #3010843: Documentation Book migration specifically hierarchies and #2409435: Upgrade path for Book 6.x and 7.x which both helped getting the book migration working. However, the menu links still have some issues which results in missing hierarchy:

  • Migrate source plugin menu_link: only queries for menu links from the menu module, should also include the book module
  • Migrate destination plugin book: receives they id of the parent menu link, but it requires the associated node id for the book table

I'm providing an MR to fix those too in a minute.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Postponed

Version

11.0 🔥

Component

migration system

Created by

🇩🇪Germany jurgenhaas Gottmadingen

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

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.

Production build 0.71.5 2024