Details
-
Type: Bug
-
Status: In Quality Assurance
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 4.7
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
-
Verified?:No
Description
There is a hardcoded list specifying that the Attachment api can only be used for 4 entities
('civicrm_activity', 'civicrm_mailing', 'civicrm_contact', 'civicrm_grant').
So creating a custom file field for e.g. Participant records will not work with the Attachment api.
Adding to the hardcoded list would help with core entities, but not with ones defined by extensions.