Closed (fixed)
Project:
ImageCache
Version:
6.x-2.0-beta9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jun 2009 at 19:07 UTC
Updated:
2 Sep 2009 at 18:50 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| imagecache.patch | 513 bytes | bdragon |
Comments
Comment #1
mdeltito commentedI was having the same issue with desaturate, and I did the same to work-around.
Comment #2
drewish commentedthanks committed to DRUPAL-6--2