Commit 7b2cbfc5 by Adam Palay

make beta dash compute module_state_key like legacy dash (LMS-2491)

parent af486423
......@@ -1252,9 +1252,9 @@ def _msk_from_problem_urlname(course_id, urlname):
urlname = urlname[:-4]
# Combined open ended problems also have state that can be deleted. However,
# appending "problem" will only allow capa problems to be reset.
# Get around this for combinedopenended problems.
if "combinedopenended" not in urlname:
# prepending "problem" will only allow capa problems to be reset.
# Get around this for xblock problems.
if "/" not in urlname:
urlname = "problem/" + urlname
parts = Location.parse_course_id(course_id)
......
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