Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.2.9
-
Fix Version/s: Unscheduled
-
Component/s: None
-
Labels:None
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
If you create a contact using the api the various address fields are not filled in. The patch I am using on 4.2 is adequate to make it possible to create those fields if you pass in 'addressee_id', 'email_greeting_id', 'postal_greeting_id'.
Also, I think the behaviour when you pass in email_greeting_id or postal_greeting_id for an Organization is incorrect (hard failure).
This isn't new but depending how long it takes to for the tests to stabilise against master it might be worth doing for 4.4.
I will add the patch I'm using as a comment - but it a very partial fix - it still does require you to pass in params into the api call that I think should be calculated. Also, the code should not be sitting as a function in the api layer but should be called from the create function IMO