Details
-
Type: Extension Review Request
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.18
-
Fix Version/s: 4.7.20
-
Component/s: Core CiviCRM
-
Labels:
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
-
Verified?:No
Description
Replace direct SQL will DAO->save() operations.
While working on an extension, I discovered that event civi.dao.postInsert fires for some but not all of the ActivityContacts created via api.Activity.create. Replacing the SQL will make the developer experience more consistent and the code more extensible.