Closed (fixed)
Project:
Migrate Yaml
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Apr 2016 at 09:58 UTC
Updated:
23 Apr 2016 at 10:24 UTC
Jump to comment: Most recent
Currently, migrate_yaml just calls getKeySchema on the specified destination. Certain destinations might require additional parameters to work correctly (e.g., MigrateDestinationTable). We should add support for that, probably like:
destination:
class: MigrateDestinationTable
arguments:
- table_name
key_schema_arguments:
- table_name
Comments
Comment #2
hussainwebAh, it seems migrate already takes care of this.
Comment #3
hussainwebI am confused. This is indeed necessary.
Comment #4
hussainwebWithout passing in the arguments, MigrateDestinationTable::getKeySchema() returns an empty array. This is a problem for mapping table as there will be no destination id's.
This is now fixed in 7ec62a9.