Details
-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 4.7.8
-
Fix Version/s: None
-
Component/s: CiviCRM API
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:Developer Doc
-
Funding Source:Needs Funding
Description
hook_civicrm_custom does not receive id of newly created record when the operation is "create" which is problematic for multiple valued groups.
This issue is noted on StackExchange here: http://civicrm.stackexchange.com/questions/2389/how-to-get-the-new-record-id-when-adding-a-record-to-a-multi-value-custom-field
I have attached a patch with a simple fix attempt.