Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.2.3
-
Fix Version/s: 3.2.4
-
Component/s: None
-
Labels:None
Description
instead of creating the employer/employee relationship using the id, it uses the organization name (even if the id is set.
If you have several organizations with the same names, it will pick one up, that might be different than the one selected by employer id.
Step to reproduce:
Create an organization id 1 name "test"
Create an organization id 42 name "test"
use the api to create a new individual with both current_employer="test" and employer_id = "42", it will set the employer as 1 instead of 42.
/