Fix deprecation error: Calling Migration::getMigrationDependencies() without expanding the plugin IDs

Created on 6 March 2024, 9 months ago
Updated 26 March 2024, 8 months ago

Problem/Motivation

Deprecation error surfaces when running any migrations:

Calling Migration::getMigrationDependencies() without expanding the plugin IDs is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. In most cases, use getMigrationDependencies(TRUE). See https://www.drupal.org/node/3266691

See: https://www.drupal.org/node/3266691 β†’

Steps to reproduce

  1. Run any migration.
  2. Observe the indicated error message in Drupal watchdog.

Proposed resolution

  1. Add parameter TRUE to relevant function calls.

Remaining tasks

  1. MR the resolution.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Fixed

Version

1.9

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jienckebd

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024