Separate bug on virgin grading policy edits not being persisted b/c the

definition not being updated when using defaults. Not sure why this
passed before.
This commit is contained in:
Don Mitchell
2013-03-04 12:15:28 -05:00
parent e55bb845b2
commit 4245816e9e

View File

@@ -118,6 +118,8 @@ class CourseGradingModel(object):
descriptor.raw_grader[index] = grader
else:
descriptor.raw_grader.append(grader)
# make definition notice the update
descriptor.raw_grader = descriptor.raw_grader
get_modulestore(course_location).update_item(course_location, descriptor.definition['data'])