Picture of Jason Wilson
Possible major bug found when restarting incomplete course
by Jason Wilson - Thursday, 15 July 2021, 12:18 AM
 

Hi guys, we've discovered a potential major bug that has appeared presumably after the last code update.

It seems if you upload a course built using the latest Adapt Author Tool build, and then close it before getting to the quiz, when you reopen the course the bookmarking does not work, trickle has reset all the pages to unviewed (using sequential lock), and the quiz is set to complete. If you then go into the quiz, you can answer the questions but the pass/fail response will not display and is not passed on to the LMS).

Steps to recreate

  1. in Adapt Author Tool (0.10.5, Framework 5.15.2), publish course
  2. Upload course to LMS
  3. Open course in LMS and navigate partially through course
  4. Close course before getting to quiz/assessment and then reopen in LMS
  5. Course pages have been reset to not viewed, and quiz has been set to viewed (although the progress bar is still greyed out).

I've tested this in both our LMS (Sumtotal) and Scormcloud with the same results.

I've also tested a couple of different courses, to ensure it wasn't just one. All have the same issue.

In case it is something specific to our courses, I've attached one of our course templates for you to check.


Picture of Jason Wilson
Re: Possible major bug found when restarting incomplete course
by Jason Wilson - Thursday, 15 July 2021, 4:00 AM
 

Sorry, forgot to mention that if you do click the bookmark button to resume where you left off, you get duplicate content on the front page (see screenshot below).

 

 


Picture of Oliver Foster
Re: Possible major bug found when restarting incomplete course
by Oliver Foster - Thursday, 15 July 2021, 4:24 AM
 

Could you update trickle and try again?



Picture of Jason Wilson
Re: Possible major bug found when restarting incomplete course
by Jason Wilson - Thursday, 15 July 2021, 11:59 AM
 

Hi Oliver, I updated to trickle version 5.1.1, but the issue is still there.

I mentioned trickle when talking about the sequential lock, but now realise I may have not said the correct thing (unless trickle does in fact control the sequential lock)?

Thanks for looking into this - we currently have 2 courses that we recently updated and now have to manually pass anyone within the LMS who tries to complete them.

Picture of Oliver Foster
Re: Possible major bug found when restarting incomplete course
by Oliver Foster - Thursday, 15 July 2021, 12:32 PM
 

No worries. I can't have a proper look until Monday, but I will endeavour to get back to you about it.

As far as I can tell at a quick glance, everything else seems fine. Let me know if you have any luck in the meantime.

Picture of Jason Wilson
Re: Possible major bug found when restarting incomplete course
by Jason Wilson - Friday, 16 July 2021, 3:20 AM
 

Okay, thanks Oliver - appreciate anything you can do to help.

Picture of Jason Wilson
Re: Possible major bug found when restarting incomplete course
by Jason Wilson - Monday, 19 July 2021, 10:36 PM
 

Hi Oliver, any update on this issue? We have a few courses that need updating and am loath to do anything until this is fixed.

If you need any more info, please do not hesitate to ask! :)

 

Picture of Oliver Foster
Re: Possible major bug found when restarting incomplete course
by Oliver Foster - Tuesday, 20 July 2021, 8:02 AM
 

I need the source for the project not just the build output.

Picture of Jason Wilson
Re: Possible major bug found when restarting incomplete course
by Jason Wilson - Tuesday, 20 July 2021, 9:29 PM
 

Hi Oliver, no problem - I've attached the source zip file.

Thanks again for your help on this issue!

Picture of Oliver Foster
Re: Possible major bug found when restarting incomplete course
by Oliver Foster - Wednesday, 21 July 2021, 8:27 AM
 

Hi Jason,

It's a conflict between spoor and trickle.

I'll post some prs and get back to you.

Picture of Oliver Foster
Re: Possible major bug found when restarting incomplete course
by Oliver Foster - Wednesday, 21 July 2021, 8:40 AM
 

Here is the issue: adaptlearning/adapt_framework#3204

Could you try your course with the changes to trickle and spoor from these two pull requests please?

https://github.com/adaptlearning/adapt-contrib-trickle/pull/122

https://github.com/adaptlearning/adapt-contrib-spoor/pull/218

Picture of Jason Wilson
Re: Possible major bug found when restarting incomplete course
by Jason Wilson - Wednesday, 21 July 2021, 10:53 PM
 

Hi Oliver - all appears to be working correctly now. Great work - thanks! :)

 

Edit: I've just re-imported some older courses that apparently had this issue, and the fix does not seem to be applying to them. I'll do some more testing and get back to you later today. I'm presuming a "force rebuild" should apply any new plugin updates to courses?

Picture of Jason Wilson
Re: Possible major bug found when restarting incomplete course
by Jason Wilson - Wednesday, 21 July 2021, 11:51 PM
 

Hi Oliver, I believe the issue is now fixed.

Adapt wouldn't allow me to update Trickle, as it was still the same version as the previous one, so I manually placed the file in the Trickle folder, and all looks to be good now (fingers crossed!).

Thanks again for your help on this.

Picture of Oliver Foster
Re: Possible major bug found when restarting incomplete course
by Oliver Foster - Thursday, 22 July 2021, 2:40 PM
 

Cool. Those prs are accepted but they haven't been released yet.

Picture of Jason Wilson
Re: Possible major bug found when restarting incomplete course
by Jason Wilson - Wednesday, 4 August 2021, 5:51 AM
 

Hi Oliver, sorry me again - it now looks like the LMS is not receiving any completion data from the courses once the assessment has been successfully completed. 

In the attached screenshot, you can see the score was 91%. The pass rate is 85%, so the message should say "complete".The course gave me the correct message, saying that I had passed the assessment.

We've not changed anything "behind the scenes", so am wondering if this has anything to do with the above issue(s)?

Tested in SumTotal LMS and Scormcloud with the same issue.

Thanks.

 

 




Picture of Oliver Foster
Re: Possible major bug found when restarting incomplete course
by Oliver Foster - Wednesday, 4 August 2021, 8:32 AM
 

Hi Jason,

Having a mess around this morning I can also replicate.

Give me a little while to figure it out. It looks as though the assessment isn't reading the correctToPass value correctly. I'll update when I've figured it out.

Apologies,

Ollie.

Picture of Oliver Foster
Re: Possible major bug found when restarting incomplete course
by Oliver Foster - Wednesday, 4 August 2021, 9:06 AM
 

This should fix it: https://github.com/adaptlearning/adapt-contrib-assessment/pull/136

You should be able to fix it yourself by updating the course.json with a _correctToPass value. The assessment plugin has this value in two places, on the article and on the course, the latter for when it combines the multiple assessments to provide a course completion value.

As you can see in this issue: https://github.com/adaptlearning/adapt-contrib-assessment/issues/135

Picture of Jason Wilson
Re: Possible major bug found when restarting incomplete course
by Jason Wilson - Wednesday, 4 August 2021, 11:01 PM
 

Hi Oliver, thanks! It looks to be working correctly now, although it didn't work initially. I compared the code from your commits to the code I downloaded and noticed the following (see screenshot below). Once I had changed || to ??, it worked correctly.

In saying this, I just downloaded the zip file from "code view" in Github (Code > Download ZIP), so if I'm not downloading these correctly, please let me know.

Thanks!