Closed (fixed)
Project:
ImageCache
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 Dec 2009 at 21:44 UTC
Updated:
3 Jun 2012 at 00:17 UTC
I ran into a few issues while writing unit tests for Features & ImageCache integration:
- imagecache_presets($reset = FALSE) does not pass on $reset to imagecache_preset_actions(). This means you may get stale static cached actions on the presets returned.
- imagecache_preset_actions($preset, $reset = FALSE) does not properly clear its static cache.
- imagecache_preset_by_name() has an unclearable static cache.
The attached patch addresses these issues.
| Comment | File | Size | Author |
|---|---|---|---|
| imagecache_clear_static_caches.patch | 1.89 KB | yhahn |
Comments
Comment #1
fizk commentedMarking as ImageCache 2.x Todo.