Closed (fixed)
Project:
Storage API
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Mar 2015 at 10:11 UTC
Updated:
23 Mar 2015 at 20:54 UTC
Jump to comment: Most recent
If I run cron when Image module is not enabled I'll get an error:
Fatal error: Call to undefined function image_style_load() in /srv/mediakirjasto/contrib/modules/storage_api/core_bridge/storage_core_bridge.module on line 453
This is fixed by enabling the Image module.
So... the Image module dependency needs to be decleared in the storage_core_bridge.info file or we need to check in the code if the module is installed before calling it's functions. See https://www.drupal.org/node/219100.
Comments
Comment #3
perignon commentedThanks for pointing this out!
Comment #4
jiv_e commentedThere are use cases for Storage API where Image module is not needed. Is it possible to add checks for the Image module function calls and remove the dependency?
Comment #5
perignon commentedI would actually have to dig into it and see. For now I corrected the dependency issue so you can't enable the module without image being turned on.
Comment #6
jiv_e commentedOk! I understand. I'll post a new issue on that. Thanks!