Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Incomplete
-
Affects Version/s: 4.4.3
-
Fix Version/s: 4.5
-
Component/s: CiviCRM API
-
Labels:None
Description
Contact id is set as a required field when creating an address throught the API.
This doesn't allow us to create locblock programmatically, since the addresses used in the locblock don't have an attached contact_id.
Solution is to remove line 100 in civicrm\api\v3\Address.php