Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 1.5
-
Fix Version/s: 1.5
-
Component/s: Technical infrastructure
-
Labels:None
Description
The crm_update_location() API call deletes absent parameters for locations, requiring you to pass all email, phone, IM objects as well as any other relevant / required attributes. This is contrary to the documentation, which infers that only the parameters you pass will be updated, and the rest will be left as-is. Here is a patch I have dveloped for 5.1 against api/Location.php.