adaptlearning / adapt_framework

A toolkit for creating responsive, accessible, multilanguage HTML5 e-learning courses.
https://www.adaptlearning.org/
GNU General Public License v3.0
572 stars 244 forks source link

adapt-contrib-spoor: SCORM 1.2 courses only ever set exit value to an empty string #2458

Closed canstudios-matth closed 5 years ago

canstudios-matth commented 5 years ago

Subject of the issue/enhancement/features

When creating a SCORM 1.2 course, the cmi.core.exit value is only ever set to an empty string. This causes problems in some LMSs when trying to resume and/or restart a course, as an exit value of 'suspend' is expected to enable resuming a course.

Your environment

Steps to reproduce

  1. Launch course with Spoor extension
  2. Close course window

Expected behaviour

It should be possible to control what cmi.core.exit is set to for situations when the default behaviour is not desirable

Actual behaviour

The value of cmi.core.exit is always set to an empty string.

Screenshots (if you can)

moloko commented 5 years ago

This causes problems in some LMSs when trying to resume and/or restart a course, as an exit value of 'suspend' is expected to enable resuming a course.

Just to clarify that this is actually only known to be occurring on SCORM Cloud when this compatibility setting is applied: image