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) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Search critieria missing when writing to cache
Pages: [1]

Author Topic: Search critieria missing when writing to cache  (Read 799 times)

eggtart

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 2
Search critieria missing when writing to cache
May 23, 2013, 11:28:00 pm
I have a multilingual site with Chinese/English.

While displaying in Chinese, I try to do an advanced contact search based on, say membership type, and will get 500 records back.  When I select all the records and choose mailing labels, it will say 1000 records selected (all the contacts in my db).  This will not happen if I choose to do everything in English.

Apparently, both the search criteria and the search results are stored in civicrm_cache based on the qfkey.  When I look them up in the DB, I found that everything is fine with the English search.  I see the member_membership_type_id in queryParams.  But when I look at the cache entry for the Chinese search, I cannot find anything about member_membership_type_id.  There is nothing after queryParams.  This happens to all the multilingual fields (e.g. membership type, membership status, etc).  Somehow, all these fields are gone with writing to the cache when we are using Civicrm in non-English mode.

Any help would be greatly appreciated.


Thanks!

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Search critieria missing when writing to cache
May 24, 2013, 06:58:32 am

Seems like there might be a bug with search and multi-lingual in this case

if you can help debug that would be great. Ping us on irc and we can help u get started

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Search critieria missing when writing to cache

This forum was archived on 2017-11-26.