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

Nesting of operators for event search form

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7
    • Fix Version/s: 4.7
    • Component/s: CiviEvent
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      Steps to replicate:
      Find Participants with status = Registered
      Select a few
      Participant status - change
      Change them to 'Attended'
      On next page load, you'll see results, refresh the page - no results and bunch of notices.

      Warning: array_key_exists(): The first argument should be either a string or an integer in CRM_Utils_Array::value() (line 55 of CRM/Utils/Array.php).
      Notice: Array to string conversion in CRM_Contact_BAO_Query::buildQillForFieldValue() (line 5858 of CRM/Contact/BAO/Query.php).
      Warning: array_key_exists(): The first argument should be either a string or an integer in CRM_Utils_Array::value() (line 55 of CRM/Utils/Array.php).
      Notice: Array to string conversion in CRM_Contact_BAO_Query::buildQillForFieldValue() (line 5858 of CRM/Contact/BAO/Query.php).

      It seems on every refresh the status params are getting nested with the operator passing wrong params to the query

        Attachments

          Activity

            People

            • Assignee:
              monish.deb Monish Deb
              Reporter:
              yashodha Yashodha Chaku
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: