Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Won't Fix
-
Affects Version/s: 4.3.0, 4.3.4, 4.3.5
-
Fix Version/s: None
-
Component/s: CiviCRM Profile
-
Labels:None
Description
There is a problem when you want to set country to country which is default in CiviCRM settings.
I have this problem on my server with 4.3.0 (even after upgrade to 4.3.5), reproduced also with 4.3.4 (demo site).
When in profile there is no "State/province" field, you can't set country to default country from settings. This doesn't work in drupal account page and in civicrm view profile ajax edit fields.
I have recorded video: http://screencast.com/t/nXI0dYnE7rm9 of this bug.
Steps to reproduce:
1. Add more than one available country in "Settings - Localization", for example: Russia, Poland, United States
2. Select as default one of added countries, for example: Russia
3. Go to "Name and Address" profile
4. Disable all address fields except "Country", "First name", "Last name"
5. Go to user profile in "My account" section (Drupal).
6. Open "Name and Address" group
7. Change "Country" to Russia
8. Click on save
Current behavior:
Country field is reverted to previously selected country.
Expected:
Russia is saved as selected country.
Problem also occurs when you try to add main address (on contact view page). When province for default country is not set address is not created. If you change country to other than default - address is created.