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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Always get already exists error when create new customer field in Chinese
Pages: [1]

Author Topic: Always get already exists error when create new customer field in Chinese  (Read 689 times)

qizhang

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
  • CiviCRM version: 4
  • CMS version: 7
  • MySQL version: 5.1.41
  • PHP version: 5.2
Always get already exists error when create new customer field in Chinese
November 05, 2011, 11:36:57 pm
Hi All,
I got a problem when creating the customer field and customer data group in Chinese. When I use a Chinese name, I always get the data already exists error. However, when I tried "专业1" (i.e,. Chinese character with some non-Chinese character), it works. But when I check the customer_field table in database, the field name is just "_1". For my know, the field name is generated by civicrm according to the lable. I assume there are something wrong to generate this field from Chinese character. Is this a bug? Or is there any work around for that? Thanks in advance.

qizhang

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
  • CiviCRM version: 4
  • CMS version: 7
  • MySQL version: 5.1.41
  • PHP version: 5.2
Re: Always get already exists error when create new customer field in Chinese
November 12, 2011, 09:07:31 am
I dived into the code and found the root cause of this problem today. It is probably a code defect. Here I posted another thread in the developer discussion section of this forum with one of my work around. Hopefully the problem can be fixed. Here is the address of that post: http://forum.civicrm.org/index.php/topic,22276.0.html

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Always get already exists error when create new customer field in Chinese

This forum was archived on 2017-11-26.