Problem/Motivation

In a project of mine I'm using drush_invoke to trigger drush migrate-import from within another drush command. This works perfectly but at the moment I have no access to the migration import termination status, which prevents the code from being able to detect errors.

Proposed resolution

Make drush migrate-import return the migration status.

Remaining tasks

  • Validate the proposed solution
  • Write a patch
  • Review it
  • Commit

User interface changes

None

API changes

None, this is an additive change.

Data model changes

None

CommentFileSizeAuthor
#2 migrate-drush_result-2552189-2.patch635 bytesplach

Comments

plach created an issue. See original summary.

plach’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new635 bytes
marco’s picture

Status: Needs review » Reviewed & tested by the community

Reviewed and tested, it would be great to have this.

mikeryan’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks!

  • mikeryan committed 9ec76a1 on 7.x-2.x authored by plach
    Issue #2552189 by plach: Make drush migrate-import return the migration...

Status: Fixed » Closed (fixed)

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