IntegrityError on posting responses to questions
 

Hi

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
lokexstream's avatar
11
lokexstream
asked 12 years ago, updated 12 years ago

Comments

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

Evgeny's avatar Evgeny (12 years ago)

@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 (12 years ago)
see more comments