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 - Joomla Bad / Drupal Good
Pages: [1]

Author Topic: Smart Groups - Joomla Bad / Drupal Good  (Read 1464 times)

mneimeyer

  • I’m new here
  • *
  • Posts: 20
  • Karma: 1
Smart Groups - Joomla Bad / Drupal Good
February 06, 2011, 04:21:37 pm
I'm having problems with Smart Groups with no criteria being saved but ONLY on Joomla... I'm running 3.3.1 but I did verify on the 3.3.3 demo...

To replicate, on both the Joomla Demo site and the Drupal site I created a custom data set for Individuals that contained a single Radio field called "Subscribe to Notifications". Then I picked a contact and set Subscribed to "Yes" and added a General membership. Then I went to the Advanced search and did a search for Memberships of New, Current or Grace and is Subscribed. This successfully returns my one subscribed member. I then tried to add a New Smart Group from the task list. On Joomla I see none of my criteria and the resulting Smart Group doesn't work. On Drupal it works fine. I've also been able to replicate this behavior with just about EVERY search criteria I create using the Advanced Search form that involves anything outside of the Basic Criteria box but since I need the proper behavior to include my custom data sets I reference that as well. (If for example I include Contact Type is Individual it does 'remember' that but it will 'forget' Gender...)

On the demo sites this was as far as I could go. On my own Joomla based system I can see that when CRM/Contact/Form/Task/SaveSearch.php is invoked that it calls $this->get('queryParams') but that doesn't actually appear to be defined anywhere which is most likely the reason why the resulting record in civicrm_saved_search contain null values in the where_clause, select_tables, and where_tables columns. There is something in form_values but when I unserialize it all I can see are unset values.

Any ideas on what I can do to try and fix this. I searched the issue tracker and didn't see anything like this. I did find on post on the forum but it went along the lines of "I ended up with the wrong contacts so here's what I did instead..."

Any ideas would be greatly appreciated.

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: Smart Groups - Joomla Bad / Drupal Good
February 07, 2011, 03:49:18 am
When trying to investigate your issue - http://issues.civicrm.org/jira/browse/CRM-7503, i looked at joomla demo, and couldn't find the smart group u might have created (may be because it got reset). So tried to create a new one but couldn't reproduce the problem. I can see the criteria & proper results -
general subscription (smart group)
.

Could you please jump on irc and help me to reproduce. Have you had 3.3.3 setup, i would request you to allow me to debug on your setup.
I'm deepaks on #civicrm.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

mneimeyer

  • I’m new here
  • *
  • Posts: 20
  • Karma: 1
Re: Smart Groups - Joomla Bad / Drupal Good
February 07, 2011, 08:04:04 am
Didn't see you on IRC this morning (well... my morning) I'm Flikker there... That said... I had a "sleeping helps you think clearly" moment since you said it works fine. It looks like it only happens in IE. I'm updating the bug report in the issue tracker. I guess we both need to expand our testing to the "other" browser. :) I should know better and have tested it using another browser.

Ultimately on my Windows 7 machine Firefox, Safari and Chrome perform as expected and Internet Explorer 8 fails.

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: Smart Groups - Joomla Bad / Drupal Good
February 08, 2011, 01:30:17 am
Checked IE7 / 8. And the issue seems to be working fine. Attached is a screen-shot taken on IE8.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Smart Groups - Joomla Bad / Drupal Good

This forum was archived on 2017-11-26.