Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 1.0
-
Fix Version/s: 1.1
-
Component/s: Technical infrastructure
-
Labels:None
Description
CRM_Core_BAO_Note::create() has a hard-coded value for the contact_id (ie the contact writing the note) of 1. If contact ID 1 doesn't exist, SQL eats flaming death with a foreign key error.
It should probably determine the correct contact id by figuring out the administrator's contact.