Skip to content

Legacy discussion requests not properly serializing course_id #36450

@blarghmatey

Description

@blarghmatey

When using the legacy discussions service (cs_comments_service) the in-line discussion block is throwing an error when trying to save the sort_ordering for an authenticated user. This is due to the course_id object getting passed through to the requests parameters unmodified, rather than getting converted to a string.

Relevant Sentry error: https://mit-office-of-digital-learning.sentry.io/share/issue/618f8150704f4a13b0cea9732b35dc56/

This was introduced in the commit 0d4281a and happens when hitting the code block here

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions