API page: https://api.drupal.org/api/drupal/core%21modules%21migrate%21src%21Plugi...

With the current example, the execution of migration will not reach the default_value plugin in the pipeline because of missing no_stub: true.

Without no_stub: true the migration_lookup will generate user and return the value.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Majdi created an issue. See original summary.

Majdi’s picture

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

Bug reports should be targeted against the 8.6.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.8.x-dev

Drupal 8.6.x will not receive any further development aside from security fixes. Bug reports should be targeted against the 8.8.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.9.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

quietone’s picture

Title: Missing parameter in class DefaultValue example » Missing parameter in process plugin DefaultValue example
Version: 8.9.x-dev » 9.3.x-dev
Component: documentation » migration system
Status: Active » Reviewed & tested by the community
Issue tags: +documentaion, +Bug Smash Initiative

Look what I found because of Bug Smash Initiative. I had no idea this migration issue existed until yesterday.

Moving to the migration system, where the migrate maintainers work.

@Majdi, thanks for the report and the patch.

Yes, it makes sense to me to avoid stubbing here.

  • catch committed a9560b3 on 9.3.x
    Issue #2974128 by Majdi, quietone: Missing parameter in process plugin...

  • catch committed 2d95b87 on 9.2.x
    Issue #2974128 by Majdi, quietone: Missing parameter in process plugin...
catch’s picture

Version: 9.3.x-dev » 9.2.x-dev
Status: Reviewed & tested by the community » Fixed

Committed/pushed to 9.3.x and cherry-picked to 9.2.x, thanks!

Status: Fixed » Closed (fixed)

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

apaderno’s picture

Issue tags: -documentaion +Documentation