SCORM grade not recorded

Re: SCORM grade not recorded

by Mike Pettitt -
Number of replies: 21

Hi all,

Has anyone  had any luck in finding fixes for this?

We use Totara which is built on Moodle. We started experiencing issues in March 2020 when COVID hit and we had a big wave of learners accessing the system. The problems were not isolated to any particular combination of devices and browsers, and we addressed it by increasing our server capacity. But shortly after it emerged that Safari users were still experiencing issues. We addressed this by switching all SCORM activities to open in New Window (Simple) rather than Current Window, and this was effective for a short period but now we have problems primarily with Chrome users, and this applies to activities that open in Current Window and New Window (Simple).

I believe that republishing from Captivate to report data on every slide will address the problem, based on some testing, but this will involve a lot of production work for us and could put a lot of strain on the system. I have spoken to our Totara provider but they are us stumped as we are.

We are close to just republishing everything as mentioned above, but I am hesitating in case there is a solution or fix around the corner.

If anyone has any insight, please let me know!

Thank you!

Mike

In reply to Mike Pettitt

Re: SCORM grade not recorded

by ali niciejewski -

Hi Mike, 

I started hearing this last week as well that chrome was not always recording grades. Its strange, half our users grades record and half won't. I have had some MAC users call back and state that using Firefox works and all their grades record. This is without having to change scorm activities to open in a new window or republish all captivate files. 

I went ahead and bit the bullet and ordered a mac so I can tinker and try to figure out what we can do to get past this problem. We've gotten to the point that all we do it manually enter grades for end users and with more the 13k users, this is getting to be quite a tedious task. 

In reply to ali niciejewski

Re: SCORM grade not recorded

by Heather P -

We are having similar issues with SCORM and the item itself not closing the attempt and therefore not triggering completions etc.

You mentioned manually entering grades. I'm looking for away to override the attempt being open and forcing it to close and carry over the score and thus trigger the completion, but can't seem to see how to do that.

I'm reaching the point where I think I'm stuck with it until I can upgrade Moodle to a 3.8 and hope it all goes away with that.

How are you manually entering your grade please?

In reply to Heather P

Re: SCORM grade not recorded

by Antonio Ortiz -
Hello Everyone;

I have the same problem, I have upgraded to version 3.9 and I am testing Mobile version 3.9.

I have been able to verify that both in chrome and in safari on the desktops the scorms works correctly, also in android both in chrome and with the app.

The problem exists in ios whether you use safari or chrome, however when setting the scorm to show in a new window the progress is saved correctly.

Moodle Mobile app (ver 3.9) continues without saving progress.

I hope this information helps to find a solution
In reply to Antonio Ortiz

Re: SCORM grade not recorded

by Mike Pettitt -

Thank you for the info Antonio.

We came to the end of the road in finding solutions with our LMS provider and with Adobe Captivate. The only two solutions we found were to a) republish the SCORM packages with "data sent on every slide" checked or b) republish with some kind of save and exit button that the learner must press.

This may not be useful to you if you do not use Captivate, but may be useful to anyone else searching the forums with the same issue!

Mike

In reply to Mike Pettitt

Re: SCORM grade not recorded

by ali niciejewski -

Hello Friends, 

Here is what I have done in the past few weeks and the results. I made changes to the following js files and added a feature file

The changes can be found at https://bitbucket.org/moodle/moodle/commits/89fb92a5513012023339b1ce8378577129c662cd?at=MOODLE_35_STABLE

or

https://github.com/moodle/moodle/commit/2add402f8183c50bc1238ef2da5ea9cd06cb1dd9

It basically changes how the XHR requests are sent to the server, this new coding will now use sendBeacon if I understand everything correctly

When I implemented these changes, I also set auto-commit to "on" in the scorm settings. If not familiar, auto-commit will commit the grades after 1 minute of viewing the scorm file. 

Results: (we are using Moodle 3.5.3)

Just like Antonio said above, iOS devices (I tested an iPhone and iPad) will not record grades or completion statuses while displayed in "current window". I changed settings in display to open in "new window" and grades/completion status were recorded on iOS 

Apple OS: MacOS Catalina 10.15.5: tested both Safari (v13.1.1) and Chrome (v83.0.4103.97) and both recorded grades/completion status even under the 1 minute requirement of auto-commit

Android phone (os Android 10): chrome v83.0.4103.106 recorded grades/completion status even under the 1 minute requirement of auto-commit

PC: chrome 83.0.4103.116 recorded grades/completion status even under the 1 minute requirement of auto-commit

In reply to ali niciejewski

Re: SCORM grade not recorded

by Antonio Ortiz -
I have enabled the auto-commit option and in a first test the progress is saved in safari ios, the app (moodle mobile) still does not record the progress.

Thanks for information
In reply to ali niciejewski

Re: SCORM grade not recorded

by Dan Marsden -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators

there is also a new patch related to this work that is incoming very soon which improves that even further and should fix the remaining issues people are experiencing. Hopefully that should be coming in the next few weeks - keep an eye on MDL-68896 for updates there.

In reply to Dan Marsden

Re: SCORM grade not recorded

by Antonio Ortiz -

Dan,


I'll wait for the patch, does it also include the solution for the Moodle Mobile app?

Thanks

Antonio

In reply to Mike Pettitt

Re: SCORM grade not recorded

by Antonio Ortiz -
Hello Mike,

Thanks for the information, we are using captivate 2019, we regenerate a SCORM with the given indication and the problem persists.
I think the solution should be in Moodle side, since if it is activated to see the SCORM in a new window it works perfectly in ios.
I think the code should be checked when the browser agent is in ios and the SCORM is embedded in the current window.

Hopefully someone who knows the code can find where the fault is.

Thanks again

Antonio
In reply to Antonio Ortiz

Re: SCORM grade not recorded

by Ben Butler -

Hi, I'm replying to this message because it seems to be the most recent, although there are some older posts at the end of the thread. I have recently encountered this issue or one very similar. I am hosting 2 Moodle sites on 2 different VPSs and they are both different versions of Moodle. The Moodle versions are 3.6.3 and 2.8.7. FYI - they have not been updated or set to auto update because they are heavily customised and updating strips all the customisations and requires significant dev work each time. I have done some testing on my scorm 1.2 packages which up until recently were working fine across all tested browsers, but now silently fail to record results back the the LMS. Here are my test results:

device os browser working
iPad2 iOS 9.3.5 safari yes
iPad5 iOS 13.4.1 Chrome no
iPad5 iOS 13.4.1 safari no
PC: HP laptop windows 10.0.18363 IE 11 yes
PC: HP laptop windows 10.0.18363 Firefox no
PC: HP laptop windows 10.0.18363 Chrome no
PC: HP laptop windows 10.0.18363 Edge no
Nokia 3.1 smart phone Android 9 Chrome no

What's interesting is that it still works on old browsers (iPad2 Safari and IE11). I'm hoping that this means the versions of Moodle that I am running are no longer compatible with modern browsers and updating Moodle will fix the issue. In my case it is a significant amount of work to update Moodle due to the customizations. I think I'll Install the latest Moodle version on a separate instance to test my scorm packages from to make sure that is the solution before I go ahead with it on the live Moodle sites. Anyone with any advice please contribute - my message is more of a contribution to this overall issue rather than requesting specific help.


In reply to Ben Butler

Re: SCORM grade not recorded

by Dan Marsden -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators

Yes - it sounds like this will force you to upgrade to a recent supported version of Moodle which is a good thing. Hopefully it will encourage you to drop a number of your custom changes and put you in a position where you can regularly upgrade with security fixes to a supported release.

Keep in mind that the latest version does fix 80% of the issues with the changes in modern browsers, however there are still some edge-case bugs which we expect to have a patch landing to fix very soon.

In reply to Dan Marsden

Re: SCORM grade not recorded

by Ben Butler -
Hi Dan - thanks for your feedback on this. I just finished testing the latest moodle version (at this time it is 3.9) and can confirm that it has fixed the issue I am experiencing. To be more thorough I installed the old version I was using (3.6.3) as a fresh instance and was able to replicate the issue there (trying to discount some other cause of the issue before updating and re applying customisations). I really need to keep the customisations for my client, but I think I'll document the update / customisation process meticulously to make it easier on myself to update the moodle version more frequently. A real world example of the cons of customising Moodle (and not keeping it up to date). FYI - I didn't come across any issues in Edge when I was testing the latest version of Moodle, but might just be because of the small number of features of Moodle that I use (I turn most stuff off and just deliver the courses to users).
In reply to Ben Butler

Re: SCORM grade not recorded

by Ben Butler -
Hi again Dan,
Just like to say thanks again for your reply. I have finished updating and documenting the changes to make my future updates easier/quicker. Basically I found that there were only a few places that my custom files were being overwritten during the update. I store my custom files in these locations:
moodle/lib/fonts/
moodle/privacy/
moodle/theme/fordson/pix/
These custom files are only used within Moodle. To avoid having to replace them again for each future Moodle update, should I be storing them somewhere outside the Moodle directory (eg in the same root public_html folder where the moodle folder is located)? Can you think of any reasons that would be a bad idea? Eg - does Moodle require that all the files it accesses be within it's directory?

Cheers,
Ben
In reply to Ben Butler

Re: SCORM grade not recorded

by Tracy Hodges -
Hi Ben - just to clarify - are you no longer experiencing browser issues across all the main browsers, including Chrome? Also, was it Moodle 3.9 or Moodle 3.9+ that you upgraded to?
In reply to Tracy Hodges

Re: SCORM grade not recorded

by Ben Butler -

That's right - upgrading Moodle has completely fixed the issue I was experiencing. That's after testing in all the browsers I listed above (latest versions of Chrome, IE, Edge and Firefox in Windows 10, Chrome in Android, and Safari in iOS). I have upgraded to the latest  version which at this time is Moodle 3.9 (Build: 20200615). I just checked for updates and there are no newer versions available.

In reply to Ben Butler

Re: SCORM grade not recorded

by Tracy Hodges -

Hi Ben,

That's interesting, thank you.  

Hopefully a Moodle upgrade will resolve our issues too.  

(Our courses have Articulate Rise Lessons followed by a Storyline Quiz (two separate SCORMs).  Both open in a new window.  The Quiz is not accessible to the student until the Lessons have been viewed in full.  In Firefox, everything works fine, but in other browsers, such as Chrome now, the completion of the Lessons is now not passing back to Moodle (we are currently on Moodle version 3.6.3).  However, even in Chrome, the scores from the Storyline Quiz seem to be passing back OK.)

In reply to Dan Marsden

Re: SCORM grade not recorded

by Paul Bennett -
Hi Dan,

We're using Moodle 3.5. Are you telling us that no fix is pending for this current LTS release?

Thank you!

Paul
In reply to Paul Bennett

Re: SCORM grade not recorded

by Dan Marsden -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators
we did manage to squeeze in the previous chrome fix to the 3.5.11 branch - but 3.5 is only officially supported for security bugs - not general bugs like this; so no - you cannot expect any bug fixes like this to land in 3.5.
Average of ratings: Useful (1)
In reply to Mike Pettitt

Re: SCORM grade not recorded

by ali niciejewski -

Hi Guys, I've found a solution to Google Chrome not recording grades


Symptom

  • There are some changes to Google Chrome release (Chrome 83) on May 19th that might impact course tracking. 
  • Specifically to changes in Chrome 83 are the commit calls for SCORM 1.2 and SCORM 2004 when the content window is closed.

Resolution

Chrome 83

This issue is the same around the update the started with version 80. This is a block on the browser that affect synchronous requests. You might see an error when closing the content window such as:

  • jslet-common-logging.js;mod=7770ee83:81 Fri May 22 2020 11:14:30 GMT-0600 (Mountain Daylight Time) [DEBUG]: PlateauSCORMAPI LMSCommit('')
  • jslet-common-logging.js;mod=7770ee83:106 (2) ["Fri May 22 2020 11:14:30 GMT-0600 (Mountain Daylig…RROR]:PlateauSCORMAPI Problem committing LMS data", "undefined"]
  • jslet-common-logging.js;mod=7770ee83:81 Fri May 22 2020 11:14:30 GMT-0600 (Mountain Daylight Time) [DEBUG]: PlateauSCORMAPI setError(101, diagnostic == 'undefined')
  • jslet-common-logging.js;mod=7770ee83:81 Fri May 22 2020 11:14:30 GMT-0600 (Mountain Daylight Time) [DEBUG]: PlateauSCORMAPI  returning 'false'

Please get with your IT team to update the Chrome setting "Allows synchronous XHR requests in page dismissal" which will allow the calls to proceed.

This can be done per browser by following these steps:

  1. Open Chrome browser
  2. Go to chrome://flags/#allow-sync-xhr-in-page-dismissal
  3. Change the drop-down selection from “Default” or “Disabled” to “Enabled”

 

You can view the complete article at https://apps.support.sap.com/sap/support/knowledge/public/en/2876002


In reply to ali niciejewski

Re: SCORM grade not recorded

by Mike Pettitt -

Hi Ali,

Thank you for posting this. It seems like this is very valuable information and I have shared this with our LMS partner and with Adobe. It's not really viable for us to get all of our learners to make changes to their browser, but understanding the cause of the problem will hopefully help us work out a solution.

I will update when we make progress.

Thank you again!