Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 1.7
-
Fix Version/s: 1.7
-
Component/s: Core CiviCRM
-
Labels:None
Description
Trying to delete a contact may give the following error:
Database Error Code: Cannot add or update a child row: a foreign key constraint fails (`drupal/civicrm_log`, CONSTRAINT `FK_civicrm_log_modified_id` FOREIGN KEY (`modified_id`) REFERENCES `civicrm_contact` (`id`)), 1452
This is on a server with PHP 5.2.1, MySQL 5.0.37, with the 1.7 subversion branch, and with civicrm_generated loaded. I was not able to duplicate this on the sandbox, though.