numbas / Numbas

A completely browser-based e-assessment/e-learning system, with an emphasis on mathematics
http://www.numbas.org.uk
Apache License 2.0
202 stars 117 forks source link

There should be a better error message when a part's adaptive marking refers to a part that doesn't exist #803

Closed christianp closed 2 years ago

christianp commented 3 years ago

A colleague made a gap-fill, where gap 1 used gap 0 in adaptive marking, then deleted gap 0. On running the question, there's an error message along the lines of 'errorCarriedBackReferences of undefined'. It should say something more sensible, like 'gap 1 refers to gap 0, which doesn't exist'.