-
-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CRM-19888 fix import to prefer default country when resolving states. #10740
CRM-19888 fix import to prefer default country when resolving states. #10740
Conversation
eileenmcnaughton
commented
Jul 24, 2017
•
edited by civicrm-builder
Loading
edited by civicrm-builder
- CRM-19888: On contact import, State field does not respect default country
e8b160a
to
5fedafb
Compare
At the Maryland code spring, I'm gonna QA this |
Jenkins retest this please |
I was able to replicate this bug by following the steps in the jira issue https://issues.civicrm.org/jira/browse/CRM-19888 and then tested the fix on a local site with this patch. Instead of getting the second address as being in Guyana it was in the United States. This code works as expected. It is failing 1 check (could be related to recent buildkit issues). Otherwise seems ready to be merged |
test this please |
@alifrumin are you going to lean on @colemanw to merge? I believe he is there with you :-) |
|
I can't even find those lines in the 2 test files I altered |
ie line 312 is $this->runImport($contactValues, CRM_Import_Parser::DUPLICATE_UPDATE, CRM_Import_Parser::VALID, $mapper, $fields); & it mentions A comma should follow the last multiline array item. Found: 'ABC' |
good point @eileenmcnaughton, thank you for the reminder and thank you @colemanw for taking a look at this. |
test this please |
I've set it running again - I can't find the strings that are failing lint in this file |
test this please |
The example given is the abbreviation UT is used in muliple countries and if US is the default country it should resolve to UTAH
In fact this test is a bit silly anyway as it tests the fn in a way it is never called in
5fedafb
to
599bbb8
Compare
CRM-19888 fix import to prefer default country when resolving states.