Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Won't Fix
-
Affects Version/s: 4.3.5
-
Fix Version/s: Unscheduled
-
Component/s: None
-
Labels:None
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
Normally on the api we don't pre-validate ids where sql will give an error (which we can interpret if they are incorrect for performance reasons)
However http://issues.civicrm.org/jira/browse/CRM-12147 introduced a pre-delete lookup which causes a fatal on invalid data.
(Note that we have in other cases advised the intergrator that they should do the lookup themselves for performance reasons on the pre hook & stash the value data in their code - I'm not necessarily adverse to us doing the lookup on delete but we should do it consistently)
Attachments
Issue Links
- supplements
-
CRM-12147 CRM_Member_BAO_Membership::deleteMembership() pass complete membership to post hook
- Done/Fixed