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

CiviEvent shows full when participant on waiting list

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.0.8
    • Fix Version/s: 4.1.0
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      If you place a participant onto waiting list the event shows as full for online registrations, ignoring the max participants vaalue.

      This is due to the call to eventFull method within \CRM\Event\Form\Registration.php not setting the waiting list flag. It should be setting the waiting list check in accordance to the setting for the event

      Around line 91 should change from

      $eventFull = CRM_Event_BAO_Participant::eventFull( $this->_eventId );

      to

      $eventFull = CRM_Event_BAO_Participant::eventFull( $this->_eventId, false, CRM_Utils_Array::value( 'has_waitlist', $this->_values['event'] ) );

        Attachments

          Activity

            People

            • Assignee:
              rohan Rohan S. Chavan
              Reporter:
              parvez Parvez Saleh
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 3 hours
                3h
                Remaining:
                Remaining Estimate - 3 hours
                3h
                Logged:
                Time Spent - Not Specified
                Not Specified