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

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jienckebd created an issue. See original summary.

wim leers’s picture

Assigned: jienckebd » Unassigned
Status: Active » Reviewed & tested by the community

LGTM!

(Tests are green, except for the usual "DB not available"-related failures. 😬 See #3408200: Recent GitLab CI changes made database-heavy tests fail increasingly often, but randomly for that.)

  • Wim Leers committed c97b61ae on 1.9.x authored by jienckebd
    Issue #3425917 by jienckebd: Fix deprecation error: Calling Migration::...
wim leers’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.