Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 300903

Migrations fail due to missing dependency when dependency is clearly not missing

$
0
0

Problem/Motivation

When running a migration via one or more drush commands, the dependencies between the migrations are not being recognized as successfully met, even if they have completed execution.

Processed 13725 items (13725 created, 0 updated, 0 failed, 0 ignored) - done with 'asset_files_migration'                                                              [status]
Migration uploaded_document_migration did not meet the requirements. Missing migrations asset_files_migration. requirements: asset_files_migration.                             [error]
Migration media_entity_migration did not meet the requirements. Missing migrations asset_files_migration. requirements: asset_files_migration.                                [error]

This was found in a system running Drupal 8.1.8 with Migrate Plus & Migrate Tools.

Proposed resolution

Improve prepareRow() documentation. Include example based on https://www.drupal.org/project/drupal/issues/3048459#comment-13140656 and information from https://www.drupal.org/project/drupal/issues/3048459#comment-13445392

Remaining tasks

Discuss
Patch
Review
Commit

User interface changes

None anticipated.

API changes

???

Data model changes

???

From Original Post

I did not receive any errors relating to memory limits like in this issue, https://www.drupal.org/node/2701121 although the problem seems very similar-- the dependency is clearly there but not recognized.


Viewing all articles
Browse latest Browse all 300903

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>