Needs work
Project:
Upload File Replace (for filefield CCK)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jun 2016 at 21:13 UTC
Updated:
8 Nov 2018 at 21:53 UTC
Jump to comment: Most recent, Most recent file
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.