Updated: Comment #1

Problem/Motivation

The baseball example module has not been updated to be compatible with the latest code in the 7.x-2.x branch.

Proposed resolution

Add a group definition to migrate_example_baseball_migrate_api().

Remaining tasks

  1. The patch is ready for review.

Original report by Darren Oh

The baseball example module does not create a group. I am new to the migrate module, but as far as I can tell, this makes it impossible to run the baseball example migration. It certainly removes it from the UI. I am submitting a patch.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Darren Oh’s picture

Status: Active » Needs review
FileSize
1.29 KB
Darren Oh’s picture

Issue summary: View changes
Issue tags: +Quick fix
FileSize
1.67 KB
1.03 KB

Updated patch to match latest 7.x-2.x API.

  • Commit 3567f7a on 7.x-2.x authored by Darren Oh, committed by mikeryan:
    Issue #2141569 by Darren Oh: Explicitly create group in baseball example
    
mikeryan’s picture

Status: Needs review » Fixed
Issue tags: +Migrate 2.6

The group was implicitly registered by the reference in the registerMigration call, so things worked fine. Your patch does simplify hook_disable and prettify the label, though, so I've committed it, thanks!

Status: Fixed » Closed (fixed)

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