Got this error on a clean D7 install without the image module enabled. I'd imagine on most sites the image module will be enabled, but it shouldn't be a dependency.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 2758119-upload-replace-image-flush-dependency-8.patch | 668 bytes | Dru18 |
Comments
Comment #2
vinayak kothule commentedHi jay-dee-ess,
I am unable to reproduce this issue. Can you kindly elaborate more or provide detailed steps you took ?
I have checked module file code and unable to find the function image_path_flush() so there is no need to add dependency of image module.
Thanks !
Comment #3
jay-dee-ess commentedHi Vinayak,
This is related to the recent patch committed to the dev version. I added it as a related issue here.
Comment #4
elijah lynnThis is valid Vinayak, it is on HEAD right now. I think we just need to add an if (module_exists('image')) around those flushes. Let's try this patch out.
Comment #5
jay-dee-ess commentedMight be a minor difference, but it seems like the image flush should only happen for certain file types rather than if the image module is enabled?
Comment #6
elijah lynnGood point, we should update so it is just flushing image file types.
Comment #7
elijah lynnComment #8
Dru18 commentedI guess the above patch works. But this is a slight variation with checking the type field in the table instead of module.