Closed (works as designed)
Project:
Migrate Extras
Version:
7.x-2.x-dev
Component:
Media
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Jul 2011 at 15:46 UTC
Updated:
10 May 2012 at 21:13 UTC
Hello all
I need to migrate a Media Asset field (Media Module). For File fields there is a class MigrateFileFieldHandler which extends MigrateFieldHandler. Is there any class for Media Assets fields?
Thank you
Comments
Comment #1
moshe weitzman commentedYes. See migrate_extras project - http://drupal.org/project/migrate_extras
Comment #2
parallax commentedExcelent
Comment #3
parallax commentedMy media asset has two additional fields "description" and "title". Is there any examples of that class? This is what I am using:
Comment #4
parallax commentedComment #5
mikeryanComment #6
mikeryanCan you describe exactly what problem you're seeing? It's not clear to me what you're looking for...
Comment #7
parallax commentedMy content type has a field of the type "media". When I import the image with the MigrateMediaFieldHandler, the Image is properly imported but with no description and title. An image of Type image, may also have additional fields, not only description and title. How do I use MigrateMediaFieldHandler to write these fields?
Thank you!
Comment #8
parallax commentedI ment, a field of type "media" may also have more field... how do I write these fields?
Comment #9
naxoc commentedI am curious to know how to write to those fields too
Comment #10
mikeryanThe media module no longer has its own "media" entity type. And, all the file handling stuff has been rewritten for Migrate 2.4 - see http://drupal.org/node/1540106 and http://drupal.org/node/1546120#comment-5981846.