edx/edx-platform — pull request #5544 by e-kolpakov (2014-10-10 15:00:33+00:00)
Title: Inline discussion XModule fix

Looks like

* Talked to @jmclaus on https://github.com/edx/edx-platform/pull/5308 - by the time of posting he couldn't reproduce the bug.
* Affected components: LMS
* Affected users: all users at all courses using inline discussion XModule
* Test instructions:
** Create course + section + subsection + unit
** Put a discussion into unit (make sure you don't use discussion XBlock, this patch fixes ordinary discussion XModule)
** Log in to studio, enroll for a course, go to unit with discussion.
** Try creating a new post: without this patch there should be no discussion/question selector, submitting a post should fail.
** When patch is applied there should be discussion/question selector and submitting a post should create a post of desired type.
** Try editing the post: without this patch update should fail (probably with message `Topic does not exist`)
** When patch is applied edit should succed (including changing post type)
* Partner information: 3rd party-hosted open edX instance, for an edX solutions client.
* Merge deadline: Oct 31 (soft requirement to minimize code drift, we maintain it on the client fork in the meantime), however, due to scope and potential severity it might make sense to do it faster.