Adding a preset, I tried to add the "desaturate" action.

user warning: Field 'data' doesn't have a default value query: INSERT INTO imagecache_action (presetid, weight, module, action) VALUES (1, 0, 'imagecache', 'imagecache_desaturate') in C:\www\servers\meta.dragonbreath.local\win\6\includes\common.inc on line 3422.

Makes sense, as that action doesn't have any configuration.

Patch attached. Dunno if that's the best place or not, it does at least prevent sql problems.

CommentFileSizeAuthor
imagecache.patch513 bytesbdragon

Comments

mdeltito’s picture

I was having the same issue with desaturate, and I did the same to work-around.

drewish’s picture

Status: Needs review » Fixed

thanks committed to DRUPAL-6--2

Status: Fixed » Closed (fixed)

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