Someone just had an exam derailed by a question which had an empty variable - the variable had no name or definition.
The exam looked OK in preview, but crashed when trying to save the SCORM suspend data because the treeToJME on undefined failed.
We should either ignore such variable definitions, or throw an error message when the exam loads. I prefer to ignore completely empty variables. Variables with a name but no definition should throw an error.
Someone just had an exam derailed by a question which had an empty variable - the variable had no name or definition.
The exam looked OK in preview, but crashed when trying to save the SCORM suspend data because the
treeToJME
onundefined
failed.We should either ignore such variable definitions, or throw an error message when the exam loads. I prefer to ignore completely empty variables. Variables with a name but no definition should throw an error.