Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
To reproduce:
1. Create a content type. Add a file field. Set the Widget Type to "Extensible File". Save the settings, and save the settings on the next page.
2. Navigate to node/add/[fieldname] -- the field created in Step 1 does not show up.
Setting the Widget Type to "File Upload" or "Image" (as this site has Imagefield installed) results in normal behavior -- the upload field displays.
I tested this in Garland, and in a custom theme we have built in-house, and the bug was present in both themes.
Comment | File | Size | Author |
---|---|---|---|
#3 | filefield_remove_extensible.patch | 2.22 KB | quicksketch |
Comments
Comment #1
quicksketchYes, the "Extensible File" widget needs to be removed entirely. I'm not sure if it ever worked or what it is even supposed to do. If it did ever work, we need to write an upgrade path for it to convert it to a normal "File" widget. If it didn't ever work, we should write an upgrade path to remove the field wherever users have had the misfortune of trying to use it.
Comment #2
bonobo CreditAttribution: bonobo commentedYeah, but with a name like "Extensible File" it's so clear what it should be used for :)
FWIW, it worked in earlier releases in D6, but it's functionality was pretty indistinguishable from "File Upload" -- we used it in a couple places with jQuery Media.
Comment #3
quicksketchHere'a a patch which removes "Extensible File" and switches all existing fields that used it to "File Upload". I imagine what it was intended to do was add an arbitrary number of fields to an upload like caption, rel text, link, etc. However this functionality was never added so "Extensible File" was always just like a normal file upload field. Fortunately the ability to group arbitrary fields together is being worked on in CCK itself in #119102: Combo field - group different fields into one, so when that gets finished it'll probably realize everything that extensible file was supposed to accomplish.
Comment #4
quicksketchThis is now committed, I'm getting out a beta2 version shortly with this included.
Comment #5
quicksketchComment #6
jpetso CreditAttribution: jpetso commentedIf I'm correct then the "Extensible File" widget was supposed to do the stuff that the 6.x-1.x branch did, like, select the widget depending on the mimetype. Well, anyways, if it doesn't work then it's better if it's gone.