Merge pull request #5561 from edx/bugfix/ichuang/fix-invalid-key-name-child-id

fix tracking log entry key child-id -> child_id
This commit is contained in:
brianhw
2014-10-16 14:39:48 -04:00
2 changed files with 2 additions and 2 deletions

View File

@@ -359,7 +359,7 @@ class SplitTestModule(SplitTestFields, XModule, StudioEditableModule):
Record in the tracking logs which child was rendered
"""
# TODO: use publish instead, when publish is wired to the tracking logs
self.system.track_function('xblock.split_test.child_render', {'child-id': self.child.scope_ids.usage_id.to_deprecated_string()})
self.system.track_function('xblock.split_test.child_render', {'child_id': self.child.scope_ids.usage_id.to_deprecated_string()})
return Response()
def get_icon_class(self):

View File

@@ -2166,7 +2166,7 @@ the child module that was shown to the student.
* - Field
- Type
- Details
* - ``child-id``
* - ``child_id``
- string
- ID of the module that displays to the student.