Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Critical
-
Resolution: Fixed/Completed
-
Affects Version/s: 1.4
-
Fix Version/s: 1.4
-
Component/s: Technical infrastructure
-
Labels:None
Description
With Beta 4889 I am unable to save or create a contact without getting the following database error:
"Database Error Code: Unknown column 'false' in 'field list', 1054"
"Array
(
[callback] => Array
(
[0] => CRM_Core_Error
[1] => handle
)
[code] => -19
[message] => DB Error: no such field
[mode] => 16
[debug_info] => UPDATE civicrm_location
SET is_primary = false WHERE
entity_table = 'civicrm_contact' AND
entity_id = '368' [nativecode=1054 ** Unknown column 'false' in 'field list']
[type] => db_error
[user_info] => UPDATE civicrm_location
SET is_primary = false WHERE
entity_table = 'civicrm_contact' AND
entity_id = '368' [nativecode=1054 ** Unknown column 'false' in 'field list']
[to_string] => [db_error: message="DB Error: no such field" code=-19 mode=callback callback=CRM_Core_Error::handle prefix="" info="UPDATE civicrm_location
SET is_primary = false WHERE
entity_table = 'civicrm_contact' AND
entity_id = '368' [nativecode=1054 ** Unknown column 'false' in 'field list']"]
)"
I'm assuming this is due to false not being a valid value on mysql 4.0. I've checked that I've set my mysql version properly, and this wasn't an issue for me with 1.3.