Closed (fixed)
Project:
ImageMagick Raw Effect
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2011 at 17:04 UTC
Updated:
8 Mar 2011 at 20:41 UTC
If I use im_raw in an installation profile the installation fails.
| Comment | File | Size | Author |
|---|---|---|---|
| patch.diff | 398 bytes | jantimon |
Comments
Comment #1
jantimon commentedComment #2
adrinux commentedI've applied your patch to the DRUPAL-7--1 branch, so should find its way into the next dev tarball. I tweaked the code comment a little in a second commit.
BUT I'm wondering if this isn't an issue with the install profile, are you enabling im_raw with the install profile? And is this error occurring because it's dependencies aren't enabled first? It would require both imagemagick.module and core's image.module to be enabled. The latter isn't enabled by default and that's where I think image_styles() is found.
That said I've not done a lot with install profiles, so I'll leave this open for now and if your sure it's a real issue not one caused by your install profile, please close it. If it is due to you not enabling dependencies then let me know and I'll revert the patch.
Comment #3
jantimon commentedOne of my features is using im_raw in its dependencies.
This feature is installed by the installation profile.
Without my patch the installation crashes.
As you can see the missing function is image_styles()
which is in core anyway.
The patch isn't something fancy but a snippet from
field_groups:
Comment #4
adrinux commentedSounds like a lot of modules will have/need something like this. Marking this fixed.
Comment #5
adrinux commented