Closed (won't fix)
Project:
Migrate Extras
Version:
6.x-1.x-dev
Component:
Filefield
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2010 at 18:59 UTC
Updated:
23 Jun 2011 at 23:06 UTC
Jump to comment: Most recent file
Comments
Comment #1
frankcarey commentedhere is the patch. Note: adding files though the node should still work as before, it's just you can now skip that during node creation and add additional files to the node later (creating a files import map, and enabling the use of the migrate hooks.
Comment #2
frankcarey commentedComment #3
3dloco commentedComment #4
Alex Andrascu commentedPlease clarify if we still have to do our own implementation of hook_migrate_prepare_node() for multivalue filefields and if so please provide a real world migrating example.
Thank you very much.
Alex
Comment #5
frankcarey commented@alex_andrascu - No you don't have to use a hook, but note that the import is a different step. First you would import all of your nodes, and then create a new import for the filefield images. When you do the mappings in the settings, you need to know the NEW nid that you want to add each image to. To make that work you have to join a map table to you filefield table.
Comment #6
mikeryanMigrate and Migrate Extras V1 are no longer supported. Migrate V2 natively supports files as a destination.