Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-14297

Fatal error in advanced search when some panes are open

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.4
    • Fix Version/s: 4.4.5
    • Component/s: None
    • Labels:
      None

      Description

      To replicate on demo from advanced search type a search string in name, expand the membership pane but don't select any criteria & hit search. I thought I might be able to replicate this on other tabs as well but I didn't hit it on activity or contribution.

      I think this should be fixed in 4.4 as it is a nasty fatal on a common workflow (albeit with a less common click pattern) and I believe it is a regression in 4.4

      Database Error Code: Unknown column 'civicrm_membership.is_test' in 'where clause', 1054
      Additional Details:

      Array
      (
      [callback] => Array
      (
      [0] => CRM_Core_Error
      [1] => handle
      )

      [code] => -19
      [message] => DB Error: no such field
      [mode] => 16
      [debug_info] => SELECT DISTINCT UPPER(LEFT(contact_a.sort_name, 1)) as sort_name FROM civicrm_contact contact_a WHERE ( civicrm_membership.is_test = 0 ) AND (contact_a.is_deleted = 0) ORDER BY UPPER(LEFT(contact_a.sort_name, 1)) asc [nativecode=1054 ** Unknown column 'civicrm_membership.is_test' in 'where clause']
      [type] => DB_Error
      [user_info] => SELECT DISTINCT UPPER(LEFT(contact_a.sort_name, 1)) as sort_name FROM civicrm_contact contact_a WHERE ( civicrm_membership.is_test = 0 ) AND (contact_a.is_deleted = 0) ORDER BY UPPER(LEFT(contact_a.sort_name, 1)) asc [nativecode=1054 ** Unknown column 'civicrm_membership.is_test' in 'where clause']
      [to_string] => [db_error: message="DB Error: no such field" code=-19 mode=callback callback=CRM_Core_Error::handle prefix="" info="SELECT DISTINCT UPPER(LEFT(contact_a.sort_name, 1)) as sort_name FROM civicrm_contact contact_a WHERE ( civicrm_membership.is_test = 0 ) AND (contact_a.is_deleted = 0) ORDER BY UPPER(LEFT(contact_a.sort_name, 1)) asc [nativecode=1054 ** Unknown column 'civicrm_membership.is_test' in 'where clause']"]
      )

        Attachments

          Activity

            People

            • Assignee:
              jitendra.purohit Jitendra Purohit
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: