Assessments do not restore when returning with a bookmark on ScormCloud.
environment
FW v4.3.0
Latest Chrome
LMS - SCORM Cloud
Steps to reproduce
Build a course with 2 pages, one page having an assessment in.
Launch the course on Scorm cloud and visit the page with the assessment in.
Do not answer any questions and exit the course.
Relaunch the course and return to bookmark.
The course then fails to load (please see screenshot below).
If you do try and answer some of the questions, these do get restored ok on revisiting, so it does seem to be just the unanswered questions that do not get restored.
This issue does seem to be isolated to a course using xAPI as all the model data gets restored correctly with Spoor:
Assessments do not restore when returning with a bookmark on ScormCloud.
environment
Steps to reproduce
Build a course with 2 pages, one page having an assessment in. Launch the course on Scorm cloud and visit the page with the assessment in. Do not answer any questions and exit the course. Relaunch the course and return to bookmark. The course then fails to load (please see screenshot below).
I've done a bit of debugging and can see that the Assessment plugin is falling over as there are no child models on the assessment article when the page loads https://github.com/adaptlearning/adapt-contrib-assessment/blob/c75001197d6141dffaf209c7657cdea27abb39d0/js/adapt-assessmentArticleModel.js#L104
If you do try and answer some of the questions, these do get restored ok on revisiting, so it does seem to be just the unanswered questions that do not get restored.
This issue does seem to be isolated to a course using xAPI as all the model data gets restored correctly with Spoor: