Closed (works as designed)
Project:
Family History Distro
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Sep 2011 at 03:37 UTC
Updated:
5 Sep 2011 at 17:14 UTC
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '134-301' for key 'PRIMARY': INSERT INTO {fhd_content_person_mapping} (nid, pid) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1); Array ( [:db_insert_placeholder_0] => 134 [:db_insert_placeholder_1] => 301 ) in fhd_person_mapping_create() (line 267 of /var/aegir/platforms/familyhistorydistro_july_24/sites/all/modules/familyhistorydistro-features/fhd_person/fhd_person_mapping/fhd_person_mapping.module).
Got above error on http://fhd-staging.eduglu.com/content/memories-mother-and-my-early-life when trying to add Lowell Barker.
Comments
Comment #1
kyle_mathews commentedAre you sure you didn't try adding him twice or that someone else hadn't already added him? The error you got is saying that you tried entering a row which already exists which the DB won't allow as there's a primary key set on the two columns.
Comment #2
bmathews commentedThe only possibility is accidentally double clicking, but I don't remember doing this. I'll close it though.