I cannot help you, but I have experienced a very similar problem. More specifically: I create a forum, add a topic and then when I try to return to it I get this message
"Course ID is incorrect - discussion is faulty"
When I examine the contents of the database I have a groupID of -1 in one of the fields.
Forum
losing posts
This discussion has been locked so you can no longer reply to it.