Closed (duplicate)
Project:
File Entity (fieldable files)
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Reporter:
Created:
23 Apr 2013 at 14:30 UTC
Updated:
24 Jul 2013 at 20:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
dave reidThis would also fix that file_entity_uninstall() needs to use API functions to load the file types.
Comment #2
dave reidNote that #1979832: Remove schemes from file types would remove the file_type_streams table.
Comment #3
dave reidReducing scope now that #1979832: Remove schemes from file types is committed.
Comment #4
devin carlson commentedA patch to store mimetypes in the {file_type} table as a serialized blob.
It includes an update function to migrate existing MIME types from {file_type_mimetypes} into {file_type}.
A screenshot showing that MIME type information is now exportable with Features!
Comment #5
devin carlson commentedMarked #1845516: Custom file types exported through Features are missing mimetype information. as a duplicate.
Comment #6
devin carlson commentedTested #4 with a number of existing sites and didn't run into any upgrade path problems (only default file types, additional custom file types, file types with default/additional/no MIME types).
Committed to 7.x-2.x.
Comment #8
venugopp commentedWith the above patch, it overwrites the default mimetypes.
It should migrate only the customised mimetypes.
Here is the patch for this.
Comment #9
aaron commentedComment #10
dave reid@pradeepvenugopal: That patch doesn't look correct. Can you make sure it's rolled against the very latest 7.x-2.x branch in Git?
Comment #11
venugopp commentedThe fix is already available in the latest branch.
Comment #11.0
venugopp commentedAdding http://drupal.org/node/1979832 to related issues