Skip to content
Snippets Groups Projects

Migrations fail due to missing dependency when dependency has skipped rows by the source plugin

2 unresolved threads

Closes #2797505

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1 <?php
2
3 declare(strict_types=1);
4
5 namespace Drupal\migrate_count_test\Plugin\migrate\source;
6
7 use Drupal\migrate\Plugin\migrate\source\EmbeddedDataSource;
8 use Drupal\migrate\Row;
9
10 /**
11 * Source plugin for testing migrate row and message counts.
12 *
13 * @MigrateSource(
  • 45 'weight' => 'weight',
    46 'fail' => [
    47 'plugin' => 'flatten',
    48 'source' => 'data',
    49 ],
    50 ],
    51 'destination' => ['plugin' => 'entity:taxonomy_vocabulary'],
    52 ];
    53 }
    54
    55 /**
    56 * Tests map message deletion.
    57 *
    58 * @dataProvider providerTestNext
    59 */
    60 public function testNext($row_1, $expected): void {
  • Stephen Mustgrave left review comments

    left review comments

  • added 1 commit

    Compare with previous version

  • Tavi Toporjinschi added 298 commits

    added 298 commits

    • b35eecad...1a2079a4 - 291 commits from branch project:11.x
    • af4ce735 - Path to MR.
    • ab321bab - Updates the Tests to pass ...
    • 4015b70c - Revert "Updates the Tests to pass ..."
    • ded250dd - Small update/refactor - not to interfere with existing...
    • 2f34b5ad - Add tests - MigrateCountTest - using custom plugin with return FALSE case.
    • 01c55def - Fix CS 1 - Add tests - MigrateCountTest - using custom plugin with return FALSE case.
    • 4106019d - MR Review updates 1.

    Compare with previous version

  • Please register or sign in to reply
    Loading