Closed (fixed)
Project:
D7 Media
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Reporter:
Created:
23 Oct 2012 at 22:28 UTC
Updated:
8 Nov 2012 at 19:00 UTC
Jump to comment: Most recent file
This is only a placeholder issue right now telling that File entity module will have an API change: constant FILE_DEFAULT_ALLOWED_EXTENSIONS will be renamed in FILE_ENTITY_DEFAULT_ALLOWED_EXTENSIONS. This is affecting the Media module.
That change is reviewed in #1227706: Add a file entity access API. See #132.
Will provide a patch as soon as a patch will be committed there.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | media-file-entity-api-change-1821262-4.patch | 3.11 KB | claudiu.cristea |
Comments
Comment #1
ParisLiakos commentedmarked #1819010: Notice: Use of undefined constant FILE_DEFAULT_ALLOWED_EXTENSIONS as dup
Comment #2
claudiu.cristeaAlso
file_type_get_names()(invoked also in Media module) is being renamed intofile_entity_type_get_names().Comment #3
ParisLiakos commentedgreat, please include that in the patch as well. and you could roll this patch now if you want..i am gonna commit the entity_access patch really soon.
closed #1820302: WSOD: PHP Fatal error: Call to undefined function file_type_get_names() in media/includes/media.fields.inc on line 85 as dup as well
Comment #4
claudiu.cristeaHere's a patch. I'm switching to "postponed" till #1227706: Add a file entity access API otherwise will fail on tests.
Comment #5
ParisLiakos commentedDont worry, our testbot is dead:/
but it is indeed postponed till i commit the other patch.
Comment #6
ParisLiakos commentedthanks for the patch!
commited