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

CiviEvent Wizard going step 3->2->3

    Details

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

      Description

      When creating a CiviEvent with wizard, moving from step 3 back to 2 then forward to 3 again causes the following error on the demo:
      New Event Wizard

      unrecoverable error
      Sorry. A non-recoverable error has occurred.

      Database Error Code: Duplicate entry 'civicrm_event-7-1' for key 2, 1062

      Return to CiviCRM menu.

      Error Details:

      Array
      (
      [callback] => Array
      (
      [0] => CRM_Core_Error
      [1] => handle
      )

      [code] => -5
      [message] => DB Error: already exists
      [mode] => 16
      [debug_info] => INSERT INTO civicrm_location (entity_table , entity_id , location_type_id , is_primary , name ) VALUES ('civicrm_event' , 7 , 1 , 0 , 'the bar' ) [nativecode=1062 ** Duplicate entry 'civicrm_event-7-1' for key 2]
      [type] => DB_Error
      [user_info] => INSERT INTO civicrm_location (entity_table , entity_id , location_type_id , is_primary , name ) VALUES ('civicrm_event' , 7 , 1 , 0 , 'the bar' ) [nativecode=1062 ** Duplicate entry 'civicrm_event-7-1' for key 2]
      [to_string] => [db_error: message="DB Error: already exists" code=-5 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO civicrm_location (entity_table , entity_id , location_type_id , is_primary , name ) VALUES ('civicrm_event' , 7 , 1 , 0 , 'the bar' ) [nativecode=1062 ** Duplicate entry 'civicrm_event-7-1' for key 2]"]
      )

        Attachments

          Activity

            People

            • Assignee:
              pankaj Pankaj Sharma
              Reporter:
              joemurray Joe Murray
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: