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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • smart groups still not updating on 2.3
Pages: [1]

Author Topic: smart groups still not updating on 2.3  (Read 1317 times)

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
smart groups still not updating on 2.3
June 02, 2009, 04:47:13 am
Hello,

This might be related to http://forum.civicrm.org/index.php/topic,7860.0.html

I'm running 2.2.3 with no custom code.  It is a recent upgrade from a site that was originally 2.1.4.  The site went through an myisam incarnation but is now back to innodb).  I *thought* is was all repaired an behaving nicely, but I could be misisng something.

When I make a smart group (I've made on based on custom fields and the other based on a postcode) it doesn't automatically update to include new contacts that match the criteria.

I've tried to replicate on trunk but it works nicely there so I presume its a local issue.  Any ideas on how I can fix this?

Thanks a lot,
Michael





Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

madronemedia

  • Guest
Re: smart groups still not updating on 2.3
June 02, 2009, 02:36:42 pm
I originally posted about this bug. It is on the 'fixed' list for 2.2.3, however, I just tried on 2.2.5 drupal install and it isn't removing a contact from the smart group when their criteria changes.

Anyone have luck with smart groups working in 2.2.3 or later?

Mark

madronemedia

  • Guest
Re: smart groups still not updating on 2.3
June 02, 2009, 03:58:42 pm
I just logged back into the 2.2.5 drupal and now the smart group is updated correctly? Hmmm. Is there some time frame that smart groups 'refresh' versus automatically?

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: smart groups still not updating on 2.3
June 02, 2009, 04:00:18 pm

so basically we seem to be hitting the problem of cache staleness :( we've been quite conservative and reset the cache on all the changes that we know about. but we might have missed a few :(

so if u can give us exact sequence of steps to reproduce the error, preferably on demo, we can track it down and fix it

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

madronemedia

  • Guest
Re: smart groups still not updating on 2.3
June 02, 2009, 04:06:41 pm
I'd be happy to. One question, is the current drupal demo version 2.2.5?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: smart groups still not updating on 2.3
June 02, 2009, 05:02:05 pm
Yep.
Protect your investment in CiviCRM by  becoming a Member!

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: smart groups still not updating on 2.3
June 02, 2009, 06:14:00 pm
Hi,

For me, the problem is that I tried to recreate this on the demo but couldn't - it worked fine each time (see the 'for smart group custom data fields').  But each time I re-create it on my local machine (even when creating completely new smart groups based on different criteria) it doesn't update properly.

The steps are pretty straight forward.  Create smart group based on select box value.  Change value of one persons select value so that they would either be added to or removed from the smart group. Check that this is the case by carrying out the equivalent advanced search.  Run the smart group but it isn't updated.  I also carried out the equiviant for a smart group based on the UK postcodes matching "N4%" with no joy.

I have a feeling something else isn't quite right because one of my smart groups has stopped working and just produces a blank screen on this URL http://test.vawcvs.org/civicrm/group/search?reset=1&force=1&context=smog&gid=74 with no debuging messages available. - thought that could be a red herring.

Appreciate that you can't debug X different set ups but any advice you can give me on how to proceed would be much appreciated  :)
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

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: smart groups still not updating on 2.3
June 02, 2009, 07:47:03 pm

can we get ssh access to the test vaw site to debug and figure out whats happening

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

madronemedia

  • Guest
Re: smart groups still not updating on 2.3
June 05, 2009, 01:42:23 pm
Do you still need to confirm via the Demo, or did you ssh into the other site to confirm?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • smart groups still not updating on 2.3

This forum was archived on 2017-11-26.