I was trying to run a migration and kept getting the error message that the migration was being skipped due to unfulfilled dependencies but it gave no feedback on what those were. So I added a helper function to list the incomplete dependences MigrationBase::incompleteDependencies() and display that information in Drush and the UI.

I'd also like to remove MigrationBase::dependenciesComplete() and just check if MigrationBase::incompleteDependencies() is empty instead.

Comments

mikeryan’s picture

Status: Needs review » Reviewed & tested by the community

Looks good, thanks! Let's keep dependenciesComplete(), just in case anyone's using it.

drewish’s picture

Version: 7.x-2.x-dev » 6.x-2.x-dev
Status: Reviewed & tested by the community » Patch (to be ported)
StatusFileSize
new5.28 KB

Okay here's what went into 7.x-2.x. Marking for porting to 6.x-2.x

mikeryan’s picture

Status: Patch (to be ported) » Fixed

Committed to D6, thanks!

Status: Fixed » Closed (fixed)

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