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

Registering a group of contacts for an event from Manage group option gets error when "Save and New" button is selected.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.7
    • Fix Version/s: 4.4.0
    • Component/s: CiviEvent
    • Labels:

      Description

      I tested this on drupal.demo.civicrm.org

      to replicate the problem:
      1) Create a new event
      2) got to Contacts>Manage Groups.
      3) Click on the contacts option for a group to display the group contacts list.
      4) Select All contacts in the group
      5) Select the option to add contacts to an event.
      6) Select the event that you created in step 1
      7) Click on the "Save and New" button.

      You will get this error:
      backTrace

      #0 /var/www/drupal7.civicrm.org/svn/civicrmdemo43/CRM/Core/Error.php(308): CRM_Core_Error::backtrace()
      #1 /var/www/drupal7.civicrm.org/svn/civicrmdemo43/CRM/Utils/Type.php(326): CRM_Core_Error::fatal("cid (value: ) is not of the type Positive")
      #2 /var/www/drupal7.civicrm.org/svn/civicrmdemo43/CRM/Utils/Request.php(96): CRM_Utils_Type::validate("", "Positive", TRUE, "cid")
      #3 /var/www/drupal7.civicrm.org/svn/civicrmdemo43/CRM/Event/Page/Tab.php(127): CRM_Utils_Request::retrieve("cid", "Positive", Object(CRM_Event_Page_Tab), TRUE)
      #4 /var/www/drupal7.civicrm.org/svn/civicrmdemo43/CRM/Event/Page/Tab.php(153): CRM_Event_Page_Tab->preProcess()
      #5 /var/www/drupal7.civicrm.org/svn/civicrmdemo43/CRM/Core/Invoke.php(292): CRM_Event_Page_Tab->run((Array:4), NULL)
      #6 /var/www/drupal7.civicrm.org/svn/civicrmdemo43/CRM/Core/Invoke.php(70): CRM_Core_Invoke::runItem((Array:12))
      #7 /var/www/drupal7.civicrm.org/svn/civicrmdemo43/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:4))
      #8 /var/www/drupal7.civicrm.org/svn/civicrmdemo43/drupal/civicrm.module(436): CRM_Core_Invoke::invoke((Array:4))
      #9 [internal function](): civicrm_invoke("contact", "view", "participant")
      #10 /var/www/drupal7.civicrm.org/public/includes/menu.inc(517): call_user_func_array("civicrm_invoke", (Array:3))
      #11 /var/www/drupal7.civicrm.org/public/index.php(21): menu_execute_active_handler()
      #12

      {main}

      Sorry but we are not able to provide this at the moment.
      cid (value: ) is not of the type Positive

      Return to home page.

      I'm not sure that we need the Save and New button here. Save seems to work properly.

        Attachments

          Activity

            People

            • Assignee:
              pratik.joshi Pratik Joshi
              Reporter:
              ptpmark mark sherman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: