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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ParisLiakos’s picture

claudiu.cristea’s picture

Also file_type_get_names() (invoked also in Media module) is being renamed into file_entity_type_get_names().

ParisLiakos’s picture

great, 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

claudiu.cristea’s picture

Status: Active » Postponed
FileSize
3.11 KB

Here's a patch. I'm switching to "postponed" till #1227706: Add a file entity access API otherwise will fail on tests.

ParisLiakos’s picture

Dont worry, our testbot is dead:/
but it is indeed postponed till i commit the other patch.

ParisLiakos’s picture

Status: Postponed » Fixed

thanks for the patch!
commited

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.