@@ -616,6 +634,7 @@ class OpenEndedModule(openendedchild.OpenEndedChild):
#Error message already defined
success=False
else:
#This is a student_facing_error
error_message="There was a problem saving the image in your submission. Please try a different image, or try pasting a link to an image into the answer box."
return{
...
...
@@ -696,6 +715,7 @@ class OpenEndedDescriptor(XmlDescriptor, EditingDescriptor):
"""
forchildin['openendedparam']:
iflen(xml_object.xpath(child))!=1:
#This is a staff_facing_error
raiseValueError("Open Ended definition must include exactly one '{0}' tag".format(child))