Hi,

On my website, when somebody tries to make a comment on one of my articles, they immediately get the below error. I also tried it myself, and I get it too.
PDOException: field_sql_storage_field_storage_write() (/var/www/drupal7/modules/field/modules/field_sql_storage/field_sql_storage.module dosyasının 448 satırı) içinde SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'comment-33-0-0-und' for key 'PRIMARY': INSERT INTO {field_data_comment_body} (entity_type, entity_id, revision_id, bundle, delta, language, comment_body_value, comment_body_format) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7); Array ( [:db_insert_placeholder_0] => comment [:db_insert_placeholder_1] => 33 [:db_insert_placeholder_2] => 33 [:db_insert_placeholder_3] => comment_node_makale [:db_insert_placeholder_4] => 0 [:db_insert_placeholder_5] => und [:db_insert_placeholder_6] => deneme [:db_insert_placeholder_7] => plain_text ) .

Regards,

Comments

plach’s picture

Title: PDO exception » Integrity constraint violation when trying to post a comment
Status: Active » Postponed (maintainer needs more info)

More information is needed before trying to address this: from this description the error could even be caused by a database-specific problem and not by a core a bug.

jkingsnorth’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No further information was provided so I'm closing the issue. Please do reopen it against the latest dev if it is still a problem, with instructions about how to recreate the problem.