Skip to content
Snippets Groups Projects
Commit 5f2de765 authored by Calen Pennington's avatar Calen Pennington
Browse files

Normalize the representation of Scope.content data in MongoModulestore FieldData

Without this, the new 'items' field in the course_info xmodule caused
bizarre behavior. If you added the text 'items' to a course_info
section, then the LMS would throw a 500, because the field name isn't
'data', but the stored data is a string, leading to the check of
`key.field_name in self._data`, where key.field_name is the string 'items',
and self._data is the content string.
parent 81cfb6c3
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment