Details
-
Type: Patch
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.1.0
-
Fix Version/s: 4.1.2
-
Component/s: CiviCRM API
-
Labels:None
Description
The contact creation API attempts to read source_contact_id from the session, but as long as it is marked as required, the call will never reach that point. civicrm_api3_activity_create() verfies the existence of the ID anyway.
Fixes unit test api_v3_ActivityTest::testActivityCreateWithMissingContactId.