Closed (fixed)
Project:
D7 Media
Version:
7.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Nov 2012 at 16:43 UTC
Updated:
19 Dec 2012 at 14:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
ParisLiakos commentedThats why
Comment #2
chriscohen commented@rootatwc, can you be a bit more verbose please? This really doesn't mean a lot to me!
Comment #3
ParisLiakos commentedit was more a note to myself, when i have time to create patch.
if you located this piece of code in media.install can you add this
right before
file_type_save($new_type);and try to upgrade again?
Comment #4
logaritmisk commentedI had to unset 'default' from existing_types, for some very strange reason the if statement wasn't respected. And I didn't have the 'document' type so I wrapped that in a if statement as well.
Comment #5
ParisLiakos commentedcommitted it with a few changes..thanks didnt cross my mind that document might not be there
http://drupalcode.org/project/media.git/commit/fa663c3