Error:
[error] The d7_nodesubqueue plugin must define the source_module property.

Steps to recreate:
Install Nodequeue Migrate and run drush ms

Reason:
Somewhere between 8.3 and 8.5 Drupal changed and modules now need a source_module property in their annotation.

Proposed solution:
Update the annotations of NodeSubqueue.php and NodeQueue.php as shown below.

NodeSubqueue.php

/**
 * Drupal 7 nodesubqueue source from database.
 *
 * @MigrateSource(
 *   id = "d7_nodesubqueue",
 *   source_module = "node",
 * )
 */

NodeQueue.php

/**
 * Drupal 7 nodequeue source from database.
 *
 * @MigrateSource(
 *   id = "d7_nodequeue",
 *   source_module = "node",
 * )
 */
CommentFileSizeAuthor
#2 2971399-2.patch1.03 KBjofitz

Comments

crash_springfield created an issue. See original summary.

jofitz’s picture

Status: Active » Needs review
StatusFileSize
new1.03 KB

Added "source_module" to the source plugins.

  • Jo Fitzgerald committed 3a3174a on 8.x-1.x
    Issue #2971399 by Jo Fitzgerald: Missing "source_module property"...
jofitz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

junaidpv’s picture

Please create a new release containing this fix. I see it is already tagged 8.x-1.1 in git.