Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Course Exit while disconnected from LMS loses progress #320

Closed
joe-replin opened this issue Nov 5, 2024 · 2 comments · Fixed by #323
Closed

Course Exit while disconnected from LMS loses progress #320

joe-replin opened this issue Nov 5, 2024 · 2 comments · Fixed by #323
Assignees

Comments

@joe-replin
Copy link

joe-replin commented Nov 5, 2024

Subject of the issue/enhancement/features

Within SCORM 2004, all of my course progress is being erased if I am exiting the course while my internet is disabled. SCORM 1.2 seems to work as you would expect, assuming the data had been committed before the disconnect. SCORM 2004 doesn't and the data is reset unless the cmi.exit state has been set.

The other odd thing is that a status doesn't seem to be reflected back into LMS UI until I've relaunched the SCORM. And within certin test LMSs, a potential fix works in Chrome but not Firefox. So a fix would likely need to be tested across a few LMSs & browsers.

Your environment

  • v5.35.3 FW
  • SCORM 2004 4th Ed.
  • Result varies between browsers
  • Windows Laptop

Steps to reproduce

  1. With a SCORM 2004 enabled course, ensure a valid commit has occurred to the LMS.
  2. Disable your internet
  3. Allow Adapt's error notification(s) to appear
  4. Exit the course
  5. Check to see that the LMS UI has been updated appropriately.
  6. Enter the course
  7. Check to see if progress has been retained.

Expected behaviour

The LMS UI should be updated with approrpate statuses. Bookmarking should immediately address the issue on relaunch and the appropriate progress should be retained.

@danielghost
Copy link
Contributor

danielghost commented Dec 6, 2024

When attempting to replicate this in SCORM Cloud (with 'Reset RunTime Data Timing: When Exit Is Not Suspend' in Compatibility Settings) and a Moodle based LMS, all runtime data is reset when relaunched, unless a suspended cmi.exit state has been set, which currently only happens when closing the browser and therefore will not have been set when the connection has dropped before closing.

For SCORM Cloud, even when data is restored correctly on relaunch, the LMS UI does seem to always be missing the last entry and doesn't reflect the data being persisted. This is repeated until the course is relaunched and then closed whilst a connection is still established, at which point the UI is updated accordingly.

Interestingly, the LMS UI not updating but the course being restored correctly on relaunch, can be replicated in SCORM Cloud even when a connection is always present, by using launch behaviour settings of:

  • SCO Launch Type: Frameset
  • Player Launch Type: New Window

The LMS UI issues cannot be resolved, but we should probably look to set the cmi.exit state on launch so this is ready before any potential connection loss, to help mitigate the appearance of data loss.

danielghost added a commit that referenced this issue Dec 10, 2024
…ta being reset on relaunch if disconnected whilst course widow is closed (fixes #320).
@github-project-automation github-project-automation bot moved this from Assigned to Recently Released in adapt_framework: The TODO Board Jan 6, 2025
Copy link

github-actions bot commented Jan 6, 2025

🎉 This issue has been resolved in version 5.9.10 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Recently Released
Development

Successfully merging a pull request may close this issue.

2 participants