Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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
Comment #1
quicksketchI 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
Comment #2
Dane Powell CreditAttribution: Dane Powell commentedSounds 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 :)
Comment #3
quicksketchComment #4
eigentor CreditAttribution: eigentor commentedDoes fixed mean the upgrade path is there now?
Comment #5
quicksketchNope, 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).
Comment #6
NaheemSays CreditAttribution: NaheemSays commentedAny 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...)
Comment #8
Remon CreditAttribution: Remon commentedLets just leave this issue open to drop any updates regrading "upgrade path".
Comment #9
tevans CreditAttribution: tevans commentedsubscribing
Comment #10
blavish CreditAttribution: blavish commentedIssue does not seem fixed, cant upgrade from 6 - 7 because filefields go missing
http://drupal.org/node/1021866
Hope this is the correct thread
Comment #11
askibinski CreditAttribution: askibinski commentedsubscribing
Comment #12
phoenix CreditAttribution: phoenix commentedI am also interested in this issue. So far no upgrade to D7 done, but there will be one soon.
Comment #13
Island Usurper CreditAttribution: Island Usurper commentedSince 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.
Comment #14
asund CreditAttribution: asund commentedSubscribing! Hope this will come soon.
Comment #15
endrus CreditAttribution: endrus commentedLooking forward to the upgrade path for Filefield and Imagefield. I'd say this is the #1 setback holding many sites from upgrading to D7.
Comment #16
AdrianC-1 CreditAttribution: AdrianC-1 commentedSubscribing
Comment #17
Island Usurper CreditAttribution: Island Usurper commentedIt 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.
Comment #18
bfroehle CreditAttribution: bfroehle commented~
Comment #19
DamienMcKennaThe 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?
Comment #20
mikl CreditAttribution: mikl commentedSubscribing.
Comment #21
Encarte CreditAttribution: Encarte commentedsubscribing
Comment #22
wmfinck CreditAttribution: wmfinck commentedsubscribing
Comment #23
Guo CreditAttribution: Guo commentedwaiting for the official upgrade path
Comment #24
KarenS CreditAttribution: KarenS commentedContent Migrate module supports an upgrade of file and image fields. It's in the D7 version of CCK.
Comment #25
quicksketchThanks KarenS. :)
Comment #27
blavish CreditAttribution: blavish commentedStill no solution?
Comment #28
bfroehle CreditAttribution: bfroehle commentedFrom #24
Comment #29
grehal CreditAttribution: grehal commentedI'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?
Comment #30
grehal CreditAttribution: grehal commentedComment #31
DamienMcKenna@grehal: Filefield fields convert to file fields using the core File module, so enable the File module and try the content migration again.
Comment #32
grehal CreditAttribution: grehal commented@DamienMcKenna: The core file module is already enabled. any other ideas?
Comment #33
DamienMcKenna@grehal: What does it show under admin/structure/content_migrate in the Available Fields and Unavailable Fields sections?
Comment #34
grehal CreditAttribution: grehal commented@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.
Comment #35
quicksketch@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.
Comment #36
quicksketchI think this is out of our hands, CCK provides the upgrade path and that's where any fixes will need to be.