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

Route migrate process plugin shouldn't assume that the $options variable is always an array

$
0
0

Blocks #3051251: Existing menu links show validation issues on migration (and ALL menu links pointing to node translations are invalid) if it will solved by menu link migration derivatives.

Problem/Motivation

For being able to properly migrate menu links (without depending on every content entities' migration), we should be able to create stub menu links.
Right now, this is blocked by the Route migrateprocess plugin, because it assumes that the $options variable it populates form the input value array is an array.

Proposed resolution

Before merging with $route['options], check whether the local $options variable is an array or not.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 298556

Trending Articles



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