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

iAmAnIntentionalENoticeThatWarnsOfAProblemYouShouldReport in Participant Search

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.4, 4.7.5
    • Fix Version/s: 4.7.8
    • Component/s: None
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      To reproduce this on http://dmaster.demo.civicrm.org/ :

      1. Visit /civicrm/event/search?reset=1 to perform a Participant Search.
      2. Select an event in the Event Name criteria field (e.g., "Rain Forest Cup Youth Soccer Tournament")
      3. Select one status in the Participant Status criteria field (e.g., "Registered")
      4. Submit the search form.
      5. On the search results page, observe this error:
      Notice: Undefined variable: iAmAnIntentionalENoticeThatWarnsOfAProblemYouShouldReport in CRM_Contact_BAO_Query::buildClause() (line 5410 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/CRM/Contact/BAO/Query.php).

      Bonus:
      If change the above recipe so that you select two or more values for the Participant Status criteria (e.g., "Registered" and "Attended") in step 3, the same error message appears twice.

      BTW, search results appear to be correct, but I haven't done a very thorough check to verify that claim.

      I'm happy to help debug this, but the code says "here be dragons" – yikes! What to do?

        Attachments

          Activity

            People

            • Assignee:
              jitendra.purohit Jitendra Purohit
              Reporter:
              allenshaw Allen Shaw
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 20 minutes
                20m