CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • State and Country field values cannot be unset in User Account profile
Pages: [1]

Author Topic: State and Country field values cannot be unset in User Account profile  (Read 478 times)

hbergin

  • I post occasionally
  • **
  • Posts: 66
  • Karma: 6
  • CiviCRM version: 3.4.5 to 4.4.1
  • CMS version: Drupal 6.28 to 7.23
  • MySQL version: 5.5.34
  • PHP version: 5.3.10
State and Country field values cannot be unset in User Account profile
February 25, 2013, 07:14:56 am
Looking into the State field as part of debugging CRM-11947 (see also forum topic http://forum.civicrm.org/index.php/topic,27782.0.html), I noticed that even without the County field being enabled in Address Settings, the State will not let you unset it in the User Account profile.

e.g. When there is a current State value saved, try to set the State back to '- select -'. The update will save, but the State value will remain.

It looks like the Country field has the same issue. When I tried to set that back to '-Select-', it also saved without error, but the country value remained.

Recreated on demo system:
http://drupal.demo.civicrm.org/user/4/edit/Name%20and%20Address

The following issue has been opened for this, CRM-11969:
http://issues.civicrm.org/jira/browse/CRM-11969

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • State and Country field values cannot be unset in User Account profile

This forum was archived on 2017-11-26.