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