Migration of filefield fields reports that this requires filefield module, even though its functionality was moved into core!

Created on 29 September 2011, about 13 years ago
Updated 27 May 2024, 7 months ago

This seems contradicting to me!

The project page of emfield states:

FileField does not need a Drupal 7 version because it has been moved to Drupal Core! To upgrade FileField to Drupal 7, install the Drupal 7 CCK Package and use the Content Migrate to upgrade FileField to Drupal 7.

On the other side, the CCK "Migrate fields" assistant reports:

[…]
Field: field_video
Field type: filefield
Content type(s): Text Plus, Text Plus Inline, Video
Other info: Missing field module: 'filefield'. This field cannot be migrated.
[…]

Manual solutions:

  • Are the file / image modules enabled? Since these are new modules, they may not be enabled in your site after the upgrade. Be sure to enable them.
  • Ensure the widget_type and widget_module in the database are set properly. An example query to fix the 'llamas_pajamas' field is: update {content_node_field_instance} set widget_type = 'imagefield_widget', widget_module = 'imagefield' where field_name = 'llamas_pajamas';
🐛 Bug report
Status

Fixed

Version

2.0

Component

upgrade path

Created by

🇦🇹Austria porg

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇪Germany asb

    Similar issue. Error message:

    Missing field module: 'filefield'. This field cannot be migrated.

    • Field name: field_video
    • Field type: filefield
    • Content type: Video

    This field is handled in D6 by the "Video" module ("Allows Creation of CCK Video Fields"). On the migrated site, "video 7.x-2.15" is installed and enabled, but the field can not be migrated for whatever reason.

    And:

    Missing field module: 'emvideo'. This field cannot be migrated.

    • Field name: field_emvideo
    • Field type: Embedded Video (= Embedded Video Field)
    • Content type: Video

    In D7, an "Embedded Media Field 7.x-1.0-alpha2+1-dev" exists; it "provides an embedded media widget for file fields" and depends on the "media" and "file_entity" modules. Bundled with "media" module in version 7.x-2.30 is a sub module called "media_migrate_file_types"; the latter one seems not to have an UI, but can be enabled with Drush. However, both fields are still listed as "Unavailable Fields" at ./admin/structure/content_migrate.

Production build 0.71.5 2024