Forum Discussion
Prompt to Resume in LMS
When I put the module in debug mode, a whole different set of circumstances emerged. I can see the suspend data being sent and it's clear the amount of data is not exceeding the SCORM 1.2 limit. What I am seeing is inability of the module to send suspend data at all after resuming once. After resuming successfully and then closing the debug trace shows the following in the last few lines....
---------------------------------------D E B U G T R A C E--------------------------------
290:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - In SCORM_CallLMSFinish
291:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - In SCORM_GrabAPI
292:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - SCORM_GrabAPI, returning
293:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - Calling LMS Finish
294:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - strResult=true
295:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - Returning True
296:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - Returning true
297:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - In SetScore, intScore=0, intMaxScore=100, intMinScore=0
298:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - In ClearErrorInfo
299:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - In IsLoaded, returning -false
300:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - In SetErrorInfo - Num=7 Desc=Cannot make calls to the LMS before calling Start
301:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - In Unload
302:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - In ClearErrorInfo
303:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - In ExecFinish, ExiType=SUSPEND
304:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - In ClearErrorInfo
305:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - In Unload
306:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - In ClearErrorInfo
307:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - In ExecFinish, ExiType=SUSPEND
308:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - In ClearErrorInfo
309:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - In Unload
310:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - In ClearErrorInfo
311:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - In ExecFinish, ExiType=SUSPEND
312:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - In ClearErrorInfo
313:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - In Unload
314:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - In ClearErrorInfo
315:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - In ExecFinish, ExiType=SUSPEND
316:Tue May 02 2017 16:19:00 GMT-0600 (Mountain Daylight Time) - In ClearErrorInfo
-----------------------------------------------------------------------------------------------------------------
The highlighted line is what I am focusing on. From what little I know about his message it appears to mean that the connection with the LMS has failed to take place on resuming. Hard to say: this error is found many places in the API.js file.
I realize this has been discussed before but if anyone has resolved this issue or just add any insight as to what is going on here.
Questions to answer:
-1-I believe we're launching from an html5 index not story,html. Is this an html5 issue?
-2-Is this a possible bug in the LMS, which is Learnit (a customization of Moodle)
Thanks, everyone, in advance.
-Marc Lee
Related Content
- 2 years ago