Closed (fixed)
Project:
Image Field Random
Version:
7.x-1.0-alpha3
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Reporter:
Created:
24 Feb 2013 at 23:25 UTC
Updated:
7 Jan 2014 at 04:00 UTC
Jump to comment: Most recent
If the file is in the "random" directory don't let image field delete the file when it's used up in the image field.
Comments
Comment #1
danielphenry commentedCommonly done with file delete. I think I would prefer to try to do a file_usage add on entity save with a fake entity id.
Comment #2
danielphenry commentedAdded a file usage entry for files pulled in from the random directory. They are not deleted when the file is unattached which prevents files pulled from the random directory from being deleted. Uninstaling the module clears the modules file usage entries.
This was the last outstanding issue from me calling this module complete. So moving the module to beta with this checkin.