Picture of Lars Halkjær
Slider, scorm tracking
by Lars Halkjær - Friday, 25 January 2019, 3:50 PM

I have installed at new AT server (v. 0.6.2 with framework v. 2.3.2).

I have made a course where I use the "adapt-contrib-slider" component.
But I noticed that it did not show up in the tracking data, even though the settings seemed to be correct.

I tried to debug into it, and I could see that in "adapt-stateful-session.js" the "onQuestionRecordInteraction" function was called when I submitted.
When I stepped into this line in "onQuestionRecordInteraction":

var responseType = questionView.getResponseType();

this function in "questionView.js" was called:

getResponseType:function() {}

and this stops any further tracking as it returns null.

It seems that the "getResponseType" function has been moved to the model instead at some point after framework version 2.3.2 (which is what you get when you install AT 0.6.2).
But the code for the "adapt-contrib-slider" seems to expect the function to be called on the model.

Should I roll the slider component back (and must I do this manually on the AT)?

Picture of Matt Leathes
Re: Slider, scorm tracking
by Matt Leathes - Friday, 25 January 2019, 5:44 PM

It's probably related to this issue.

If you need support for interaction tracking then yes I think you'll need to roll back to v2.3.0 - sorry I don't know how you'd do that. Hopefully someone else can help with that.

Equally you could build in the framework using a more recent adapt version.

Picture of Lars Halkjær
Re: Slider, scorm tracking
by Lars Halkjær - Monday, 28 January 2019, 10:38 AM

Hi Matt

Thank you.

It seems that I can manually replace the slider plugin on the AT server (even though it still reports the original  version number in the AT).