adaptlearning / adapt-contrib-spoor

A basic scorm tracking plugin for Adapt
GNU General Public License v3.0
14 stars 42 forks source link

Issue with SPOOR error Handling message #283

Closed lokeshece1 closed 8 months ago

lokeshece1 commented 1 year ago

Undefined spoor configuration error for ScormError

Describe your issue here.

Symptom: Adapt shows endless loop of the the loading screen Console Error: Seems to be stuck on the cmi.core.lesson_status

Your environment

Steps to reproduce

Check with latest Spoor extension (5.7.0) with different LMS platform

Expected behaviour

It should first check whether Adapt is enabled then check for the course configuration. Return early added to wrapper.js if Adapt.course does not exist

[adapt-contrib-spoor/js/scorm/wrapper.js] if (!Adapt.course) return;

Screenshots (if you can)

image

image

oliverfoster commented 8 months ago

fixed with https://github.com/adaptlearning/adapt-contrib-spoor/pull/301