IntegrityError on posting responses to questions

  • retag add tags


I am having issues with IntegrityErrors like: "IntegrityError: (1452, 'Cannot add or update a child row: a foreign key constraint fails (xstream_askbot.askbot_post_groups, CONSTRAINT post_id_refs_id_75cf7f31839241d7 FOREIGN KEY (post_id) REFERENCES askbot_post (id))')"

When posting a reply to a question. The reply seems to get there, even though the user gets a nice Internal Server Error page. But i would like to get this fixed, any hints?

According to the webpage its version 0.7.48 running with MySQL 5.5.29 as a backend on ubuntu.

lokexstream's avatar
asked 2013-03-11 05:39:11 -0500, updated 2013-03-12 03:12:25 -0500
edit flag offensive 0 remove flag close merge delete


Please give details about your database, version of django and askbot.

Evgeny's avatar Evgeny (2013-03-11 19:34:18 -0500) edit

@Evgeny - done, I've added the information to the post, and of course, i should have added it right away, sorry.

lokexstream's avatar lokexstream (2013-03-12 03:12:57 -0500) edit
add a comment see more comments