CRM-7503 Smart Groups - Joomla Bad / Drupal Good

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.3.3
    • Fix Version/s: Unscheduled
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      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.

        Attachments

          Activity

          [CRM-7503] Smart Groups - Joomla Bad / Drupal Good
          Deepak Srivastava added a comment -
          Matt Neimeyer added a comment -

          Moment of morning mental clarity: This bug only affects Internet Explorer (I'm using IE8, not certain about earlier versions)

          Firefox, Safari and Chrome perform as expected.

          Donald A. Lobo added a comment -

          deeepak reports he could not reproduce

          can you try on another IE machine with no "plugins" and as clean an environment as possible. i faintly recollect someone else had a wierd issue and it might have been a firewall program munging something (details a bit hazy)

          Eileen McNaughton added a comment -

          Check http://issues.civicrm.org/jira/browse/CRM-7047 - I had a windows / joomla issue with avg safe search enabled - could be related maybe?

          Matt Neimeyer added a comment -

          I do not have AVG installed so it isn't that directly. On Windows I generally stick with Microsoft Security Essentials...

          However, I just retried this on the Joomla Demo site with a newly re-installed Windows 7 Ultimate x64 IE8 in No Add Ons mode and on a fresh install of XP SP3 IE8 and it still happens in both cases. I have not been able to research further.

          I want to try setting up a VM Ware guest with NO patches or updates and try testing, applying, repeat. Until I have a "full install". That might at least start me in the right direction as to cause.

          Stephen Palmstrom added a comment -

          I am seeing the same problem with Joomla and a relationship criterion - I reported this as CRM-9852, but it was closed since the assignee appeared not to be able to reproduce it. I have, though, on the demo system.

          Stephen Palmstrom added a comment -

          I tried again - with Opera or Chrome, I could create smart groups where the search criteria were remembered; with Internet Explorer 9, the criteria were not saved.

            People

            • Assignee:
              Pratik Joshi
              Reporter:
              Matt Neimeyer

              Dates

              • Created:
                Updated:
                Resolved: