Hi everybody!
In AT (0.10.4) with framework (5.7.1) in an assessment if you enable "Display Marking" and completes the assessment, the markings disappear if you leave the page and come back, even though "Reset when revisited?" is set to "false". Thus it is not possible to keep the markings visible on page re-visit.
I don't know if this is intended or if I'm doing something wrong, but I tracked the issue to the function checkIfResetOnRevisit() inside adaptModel.js, which looks as if it should be able to take into account both booleans and strings.
Because isResetOnRevisit = "false", results in the if-statement to be false here:
if (!isResetOnRevisit) {
return;
}
I tested this directly in the framework, without the AT, and in the components.json all components' _isResetOnRevisit property is the string: "false". The issue goes away if I change this to the boolean: false instead.
Is this a bug, or am I seeing ghosts here?
Thanks
Henrik