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

Advanced Search for custom field yields database error

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 4.6.5
    • Fix Version/s: 4.6.6
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      An Advanced Search for a custom field value crashes with a database error. It appears to be caused by the WHERE clause in the query missing an equals sign. The offending file appears to be \administrator\components\com_civicrm\civicrm\CRM\Core\BAO\CustomQuery.php. The problem did not exist in 4.6.4. A file generated by define( 'CIVICRM_DEBUG_LOG_QUERY', 'backtrace' ); is attached.

        Attachments

        1. PHPLogs.log
          11 kB
          Stephen Palmstrom

          Activity

            People

            • Assignee:
              monish.deb Monish Deb
              Reporter:
              spalmstr Stephen Palmstrom
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: