Details
-
Type: New Feature
-
Status: Won't Do
-
Priority: Trivial
-
Resolution: Won't Do
-
Affects Version/s: 4.7.x
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Versioning Impact:Minor (add functionality in backwards-compatible manner)
-
Documentation Required?:None
-
Funding Source:Needs Funding
-
Verified?:Yes
Description
As discused on https://chat.civicrm.org/civicrm/pl/hykmdoiht7b33d9fth1wrzpxqr
When a custom field of type file is deleted, all stored files are keeped on the file system.
I think the files should be deleted at the same time as the custom field is deleted. To avoid possible confusion with the current behavior, I would modify the custom file field removal warning message to warn about the removal of files. Something like:
WARNING: Deleting this custom field will result in the loss of all '' data as well as the stored files. Any Profile form and listings field(s) linked with '' will also be deleted. This action cannot be undone. Do you want to continue?