Commit e056da10 by Stephen Sanchez

Fix for ORA-51 for master (moving from Authoring)

parent 1438b209
...@@ -35,6 +35,8 @@ class LmsCompatibilityMixin(object): ...@@ -35,6 +35,8 @@ class LmsCompatibilityMixin(object):
scope=Scope.settings scope=Scope.settings
) )
icon_class = "problem"
def has_dynamic_children(self): def has_dynamic_children(self):
"""Do we dynamically determine our children? No, we don't have any. """Do we dynamically determine our children? No, we don't have any.
......
...@@ -659,6 +659,7 @@ def update_from_xml(oa_block, root, validator=DEFAULT_VALIDATOR): ...@@ -659,6 +659,7 @@ def update_from_xml(oa_block, root, validator=DEFAULT_VALIDATOR):
# If we've gotten this far, then we've successfully parsed the XML # If we've gotten this far, then we've successfully parsed the XML
# and validated the contents. At long last, we can safely update the XBlock. # and validated the contents. At long last, we can safely update the XBlock.
oa_block.title = title oa_block.title = title
oa_block.display_name = title
oa_block.prompt = rubric['prompt'] oa_block.prompt = rubric['prompt']
oa_block.rubric_criteria = rubric['criteria'] oa_block.rubric_criteria = rubric['criteria']
oa_block.rubric_assessments = assessments oa_block.rubric_assessments = assessments
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment