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

constraint violation when deleting some relationship types

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      When you attempt to delete a relationship type that is contained in an import mapping, you get a constraint violation:

      DB Error: constraint violation

      Database Error Code: Cannot delete or update a parent row: a foreign key constraint fails (`oa_civicrm/civicrm_mapping_field`, CONSTRAINT `FK_civicrm_mapping_field_relationship_type_id` FOREIGN KEY (`relationship_type_id`) REFERENCES `civicrm_relationship_type` (`id`)), 1451

        Attachments

          Activity

            People

            • Assignee:
              yashodha Yashodha Chaku
              Reporter:
              dalin dave hansen-lange
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: