Picture of Henrik Aabom
"Reset when revisited?" not working as intended?
by Henrik Aabom - Friday, 20 November 2020, 7:12 AM
 

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

Picture of Matt Leathes
Re: "Reset when revisited?" not working as intended?
by Matt Leathes - Friday, 20 November 2020, 10:52 AM
 
Is this a bug, or am I seeing ghosts here?

It sounds a lot like this issue but that should have been fixed in v5.6.1...!

Picture of Henrik Aabom
Re: "Reset when revisited?" not working as intended?
by Henrik Aabom - Friday, 20 November 2020, 12:08 PM
 

Yeah, it surely sounds like it.

Thanks, Matt