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

Can't search for participants without selecting an event.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6, 4.6.2
    • Fix Version/s: 4.6.3
    • Component/s: CiviEvent
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      When I try to search for participants of all events (/civicrm/event/search page), it triggers an error :
      '' is not a valid option for field id

      This is since CRM-15803, as it changes the input value of the event reference field to an array() with '' as value, which should be an empty array if there is no value.
      I have this issue for the 4.6.0 and 4.6.2 release

      Strangely this doesn't trigger an error on the d46 and the dmaster demo sites (see http://d46.demo.civicrm.org/civicrm/event/search), so maybe this is fixed somewhere else.

      The attached PR fixes this issue (if it isn't fixed somewhere else)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                colemanw Coleman Watts
                Reporter:
                mollux Mattias Michaux
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: