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

Creating an event that does not allow for online registration fails with an error about confirmation email.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      This is a usability issue, as the "Send Email Confirmation" default is currently YES for a new event - but this field is hidden by default because is_online_registration is FALSE by default.

      Suggested fix in Registration.php:

      • For "new" event case (i.e. no event_page yet) - set $defaults['is_email_confirm'] to NULL (so neither yes or no is checked on the radio).
      • formRule specifies that is_email_confirm must be either 0 or 1 if is_online_registration = 1 (so we know that the user made a choice).
      • postProcess sets is_email_confirm = 0 IF it is not set (so this happens automatically when is_online_registration is left as 0.

      — Original post —
      Demonstrated on sandbox. Try to finalize either World Radio Conference or World Radio Conference II.
      Please correct the following errors in the form fields below:
      Automated confirmation emails are only sent for online registrations. Please disable Email Confirmations or enable Online Registration.

        Attachments

          Activity

            People

            • Assignee:
              kiran.jagtap Kiran Jagtap
              Reporter:
              majortom Carmi Weinzweig
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: