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

Creating a CiviEvent with a online registration page and no input on "send confirmation" mail is troublesome

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:
      None

      Description

      When creating a civiEvent with an online registration page but no input on whether to send a confirmation mail or not leads to an crash when trying to register.

      drupal/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 258
      drupal/sites/all/modules/civicrm/packages/Net/SMTP.php, fatal, 279
      drupal/sites/all/modules/civicrm/packages/Net/SMTP.php, _parseResponse, 716
      drupal/sites/all/modules/civicrm/packages/Mail/smtp.php, mailFrom, 275
      drupal/sites/all/modules/civicrm/CRM/Utils/Mail.php, send, 158
      drupal/sites/all/modules/civicrm/CRM/Event/BAO/EventPage.php, send, 171
      drupal/sites/all/modules/civicrm/CRM/Event/Form/Registration.php, sendMail, 526
      drupal/sites/all/modules/civicrm/CRM/Event/Form/Registration/Register.php, confirmPostProcess, 451
      drupal/sites/all/modules/civicrm/CRM/Core/StateMachine.php, postProcess, 166
      drupal/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Next.php, perform, 63
      drupal/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 195
      drupal/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 95
      drupal/sites/all/modules/civicrm/CRM/Core/Controller.php, handle, 223
      drupal/sites/all/modules/civicrm/CRM/Event/Invoke.php, run, 100
      drupal/sites/all/modules/civicrm/CRM/Core/Component.php, main, 130
      drupal/sites/all/modules/civicrm/CRM/Core/Invoke.php, invoke, 158
      drupal/sites/all/modules/civicrm/drupal/civicrm.module, invoke, 329
      , civicrm_invoke,
      drupal/includes/menu.inc, call_user_func_array, 418
      drupal/index.php, menu_execute_active_handler, 15

      I think the Yes/No options should have a shown default value and not a "not selected" which is internally interpreted as "Yes". If you don't select "Yes" or "No" the needed "from" field isn't marked as a requirement and can therefore be left blank => error when registering.

        Attachments

          Activity

            People

            • Assignee:
              pankaj Pankaj Sharma
              Reporter:
              laborg Gerhard Aigner
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: