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

Notice Search membership with custom fields

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.5
    • Fix Version/s: 4.6.7
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      When you search for memberships with a custom field, i get following notice

      Notice: Undefined variable: iAmAnIntentionalENoticeThatWarnsOfAProblemYouShouldReport in CRM_Contact_BAO_Query::buildClause() (line 5193 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/BAO/Query.php).

      When doing this locally, i get following notice
      Notice: Undefined variable: qillOp in CRM_Core_BAO_CustomQuery->where() (line 377 of /sites/all/modules/civicrm/CRM/Core/BAO/CustomQuery.php).

      To reproduce, create custom field group, and custom field for a membership.
      Search membership with custom field parameter set.

      My guess is this is only introduced since 4.6.5, and i'm guessing the PR https://github.com/civicrm/civicrm-core/pull/6044 is related in the cause of this issue

        Attachments

          Activity

            People

            • Assignee:
              monish.deb Monish Deb
              Reporter:
              mallezie Tim Mallezie
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: