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

error in deleting all contact records

    Details

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

      Description

      goto the demo server, and try deleting all contacts.

      error

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

      [code] => -3
      [message] => DB Error: constraint violation
      [mode] => 16
      [debug_info] => DELETE FROM civicrm_contribution WHERE civicrm_contribution.id = 16 [nativecode=1217 ** Cannot delete or update a parent row: a foreign key constraint fails]
      [type] => DB_Error
      [user_info] => DELETE FROM civicrm_contribution WHERE civicrm_contribution.id = 16 [nativecode=1217 ** Cannot delete or update a parent row: a foreign key constraint fails]
      [to_string] => [db_error: message="DB Error: constraint violation" code=-3 mode=callback callback=CRM_Core_Error::handle prefix="" info="DELETE FROM civicrm_contribution WHERE civicrm_contribution.id = 16 [nativecode=1217 ** Cannot delete or update a parent row: a foreign key constraint fails]"]
      )

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              kurund Kurund Jalmi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: