numbas / editor

An editor for the Numbas e-learning system.
http://numbas.mathcentre.ac.uk
Apache License 2.0
59 stars 61 forks source link

Adaptive marking: replacing variable with gap answer freezes the editor on "Loading" #791

Closed ugonj closed 10 months ago

ugonj commented 10 months ago

When adaptive marking is set in a question so that a variable should be replaced with the value of a gap answer, the question can no longer be reloaded. Instead the screen remains on "Loading". The error occurs in edit.js, line 3649.

Here is an example: https://numbas.mathcentre.ac.uk/question/share/view/78bfc2da-5a90-4820-a76a-273836c0091d

christianp commented 10 months ago

Thanks for reporting this!