The imagecache_actions module edefines a number of image effects additional to those provide by the image module from core. When exporting an image style containing such an image effect, e.g. rounded corners, the module providing that effect, in this case imagecache_actions, should be added as a dependency.

(note: this is a spin-off of an issue in imagecache_actions: #1171980: Unable to revert Image Styles that contain canvasactions.)

Comments

hefox’s picture

Title: Module that defines an image effect is not added as a dependency when exporting an image style containing that effect » Suggest module that defines an image effect as a dependency when exporting an image style containing that effect
Category: bug » feature

In hook_features_export, it'd need to go over the effects, look up the module that defines them, and add those as dependencies.

(I personally consider anything related to adding more autoadded dependencies as feature requests because they're helpers and not required to make a workable feature as users should be figuring out what their new module depends on; there's no way features is going to be able to figure out all of them or should have to imo.)

Honza Pobořil’s picture

Similar problem: I've added image_url_formatter module, and user the formatter in views (which are exported by features), but this module has not been added fo feature as dependency.

the_g_bomb’s picture

Issue summary: View changes

Similar issue with Image effect kit, I think.

Could also be related to issues complaining of:
Warning: array_intersect_key(): Argument #1 is not an array in _image_features_style_sanitize() (line 105 ...

If you enable a feature that contains an image style defined by another module but that other module that hasn't been included in the feature then I think you get the above error message.

joseph.olstad’s picture

the module called imagick also has effects.

I haven't tried capturing effects with features yet. However I've captured core image styles that works well with the latest release.

If you have a patch, upload it, I will review.