Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291923

Existing menu links show validation issues on migration (and ALL menu links pointing to node translations are invalid)

$
0
0

Problem/Motivation

The d7_menu_links migration complains about failed path validation for many links.

The reason: it points to content entities that have not yet been migrated. Its migration dependencies are:

migration_dependencies:
  required:
    - d7_menu

While this guarantees the existence of the menu in which a migrated menu link lives, it does not guarantee that the location the menu link points to exists. This is the problem.

Proposed resolution

  1. Add dependencies.
  2. Add deriver, to allow migrating subsets of menu links (to be able to migrate only menu links targeting only content entities that have already been migrated).

Remaining tasks

  1. Add tests for the deriver.

User interface changes

None.

API changes

None.

Data model changes

None.

Release notes snippet

TBD


Viewing all articles
Browse latest Browse all 291923

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>