Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Issue to move the file/add from media to file.
Comment | File | Size | Author |
---|---|---|---|
#6 | 1552920_6_remove_file_add_from_media_module.patch | 9.42 KB | mtift |
#2 | 1552920_1_remove_file_add_from_media_module.patch | 8.81 KB | Letharion |
remove_file_add_from_media_module.patch | 7.9 KB | Letharion | |
Comments
Comment #1
Letharion CreditAttribution: Letharion commentedSecond attempt.
Comment #2
Letharion CreditAttribution: Letharion commentedI hear actually uploading patches is also a good idea.
Comment #3
Letharion CreditAttribution: Letharion commentedComplementary file entity issue: #1552988: Move file/add from media to file.
Comment #4
Letharion CreditAttribution: Letharion commentedI seems to me like the two default values max_filesize and file_extensions could now be removed from the media module, but I'm not sure of this so I'm leaving them for now.
Comment #5
Dave ReidAdding sprint tags.
Comment #6
mtiftPatch #1 from this issue (1552920) -- in conjunction with patch #1 from #1552988: Move file/add from media to file -- worked fine to fix uploading from file/add.
I changed the instances of "drupal_get_form('media_add_" to "drupal_get_form('file_entity_" in includes/MediaBrowserUpload.inc so that the "Media file selector" widget is aware of the new namespace and will work properly.
Comment #7
dgorton CreditAttribution: dgorton commented#6 works for me (in conjunction w/ #1 from #1552988: Move file/add from media to file
Comment #8
Dave ReidAwesome! Committed to 7.x-2.x with http://drupalcode.org/project/media.git/commit/453fad5. Nice work all!