The FileField project page mentions that there will be an upgrade path to Drupal 7, but it doesn't yet exist. Is that still correct? If so, is there at least an ETA on an upgrade path? Is it expected to be a more difficult process than the upgrade from D6 core uploads to D7 file fields (which is already in place)?

I'm trying to determine whether to use FileField or core Upload as the backbone of a new file-related D6 module, and trying to make it as future-proof as possible.

Comments

quicksketch’s picture

I don't yet have an ETA on an upgrade path, but I can assure you that an upgrade path will exist. I wrote the upgrade path from Upload to FileField too, and that was a much more challenging migration than migrating FileField to File module will be (since File module is pretty much just FileField put into core).

I don't think there will be a D7 version of FileField (since it'd ONLY contain the upgrade path), most likely FileField's upgrade with will be merged into something like http://drupal.org/project/field_convert

Dane Powell’s picture

Sounds good, thanks for the reassurance- you might consider linking to this issue from the project page for the benefit of any other worried souls out there :)

quicksketch’s picture

Status: Active » Fixed
eigentor’s picture

Does fixed mean the upgrade path is there now?

quicksketch’s picture

Nope, just that there will be one. There won't be a D7 version of FileField at all, the upgrade path will likely live elsewhere (like the field_convert module).

NaheemSays’s picture

Any update on this or other modules that have moved to core?

Is there a specific page anywhere about upgrades from CCK to fields in D7 (for end users as opposed to developers)?

(the content_migrate module that is a part of cck seems to need a "filefield" module to upgrade to for some reason...)

Status: Fixed » Closed (fixed)

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

Remon’s picture

Status: Closed (fixed) » Active

Lets just leave this issue open to drop any updates regrading "upgrade path".

tevans’s picture

subscribing

blavish’s picture

Component: User interface » Code
Priority: Normal » Critical

Issue does not seem fixed, cant upgrade from 6 - 7 because filefields go missing
http://drupal.org/node/1021866
Hope this is the correct thread

askibinski’s picture

subscribing

phoenix’s picture

I am also interested in this issue. So far no upgrade to D7 done, but there will be one soon.

Island Usurper’s picture

Since Ubercart creates an imagefield for its product node types by default, and most of its users rely on it, I can't really release a non-beta version for Drupal 7 until there's some way for people to keep using their files.

asund’s picture

Subscribing! Hope this will come soon.

endrus’s picture

Looking forward to the upgrade path for Filefield and Imagefield. I'd say this is the #1 setback holding many sites from upgrading to D7.

AdrianC-1’s picture

Subscribing

Island Usurper’s picture

It looks like content_migrate in CCK is going to try to handle file- and imagefields: #781088: Updating CCK Fields and Data from D6 to D7. While I wouldn't want it to be spammed with a few dozen "subscribe" posts, we should probably keep an eye on it.

bfroehle’s picture

~

DamienMcKenna’s picture

The CCK content_migrate module looks like the best option right now. @quicksketch, maybe worth blessing it as the official migration path for your two modules?

mikl’s picture

Subscribing.

Encarte’s picture

subscribing

wmfinck’s picture

subscribing

Guo’s picture

waiting for the official upgrade path

KarenS’s picture

Content Migrate module supports an upgrade of file and image fields. It's in the D7 version of CCK.

quicksketch’s picture

Status: Active » Fixed

Thanks KarenS. :)

Status: Fixed » Closed (fixed)

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

blavish’s picture

Status: Closed (fixed) » Active

Still no solution?

bfroehle’s picture

Status: Active » Closed (fixed)

From #24

Content Migrate module supports an upgrade of file and image fields. It's in the D7 version of CCK.
grehal’s picture

I'm still having trouble migrating from D6 to D7. I've used Content_Migrate to migrate most of the fields but there's still a handful that say "Missing field module: 'filefield'. This field cannot be migrated." as there's no drupal 7 version of the filefield module, how can we use Content_Migrate to convert these?

grehal’s picture

Status: Closed (fixed) » Active
DamienMcKenna’s picture

Status: Active » Closed (fixed)

@grehal: Filefield fields convert to file fields using the core File module, so enable the File module and try the content migration again.

grehal’s picture

Status: Closed (fixed) » Active

@DamienMcKenna: The core file module is already enabled. any other ideas?

DamienMcKenna’s picture

@grehal: What does it show under admin/structure/content_migrate in the Available Fields and Unavailable Fields sections?

grehal’s picture

@DamienMcKenna: There's nothing in Available fields (I migrated all the fields it was able to, already) in Unavailable fields it's showing 4 filefields with the following under "other infomation":

- Missing field module: 'filefield'. This field cannot be migrated.
- Missing widget: The 'uploadfield_widget' widget is not available for the field_mp4_video field, it will be set to the default widget.
- Missing formatter: The 'video_plain' formatter used in 3 view modes for the field_mp4_video field is not available, these displays will be reset to the default formatter.
- Missing widget: The 'uploadfield_widget' widget is not available for the field_mp4_video field, it will be set to the default widget.
- Missing formatter: The 'video_plain' formatter used in 3 view modes for the field_mp4_video field is not available, these displays will be reset to the default formatter.

the first of that list is in red and seems to be what's stopping things.

quicksketch’s picture

@grehal: Sounds like something you might take up with the CCK queue. Just recently I've migrated several sites to Drupal 7 that included several FileFields without any problem, so I know content_migrate module is doing its job in most situations.

quicksketch’s picture

Status: Active » Closed (fixed)

I think this is out of our hands, CCK provides the upgrade path and that's where any fixes will need to be.