Scorm save tracking not working in moodle 2.9 after version upgrade

Re: Scorm save tracking not working in moodle 2.9 after version upgrade

by Matteo Scaramuccia -
Number of replies: 2
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hi Sarath,
did you activate the debugging at the DEVELOPER level and the API logging to look for any error during the talks between the content and Moodle?

That permission is enabled by default so it could be related to a theme issue if you're using a custom theme or to a combination of your content and the browser model&version. Does it happen in more than one browser (i.e.: IE, FF, CR)?

HTH,
Matteo

In reply to Matteo Scaramuccia

Re: Scorm save tracking not working in moodle 2.9 after version upgrade

by sarath zac -

Hi Matteo,


           Thanks for your help. 

            Enabled the API debugging option and got log as follows


Mon, 03 Aug 2015 06:15:12 GMT: Moodle SCORM 1.2 API Loaded, Activity:  Certification - Part 1, SCO: Pl_SCO

Mon, 03 Aug 2015 06:15:13 GMT: LMSInitialize("", "") => 0 scoid = 2427

Mon, 03 Aug 2015 06:15:13 GMT: LMSGetValue("cmi.core.lesson_mode") - review => 0 scoid = 2427

Mon, 03 Aug 2015 06:15:14 GMT: Commit("", "") => 0 scoid = 2427

Mon, 03 Aug 2015 06:15:14 GMT: LMSCommit("AJAXResult", "true") => 0 scoid = 2427

Mon, 03 Aug 2015 06:15:14 GMT: LMSCommit("result", "true") => 0 scoid = 2427

Mon, 03 Aug 2015 06:15:14 GMT: LMSCommit("errorCode", "0") => 0 scoid = 2427

Mon, 03 Aug 2015 06:15:14 GMT: LMSGetValue("cmi.suspend_data") - 2_9~2A1p0F0C0m0J0b0P0Q0r050k040f0E0l0y0L0G0d0u0I0i0D0h0s0t070g0N0z0x0K0o080e0q0A0M0c060a0H0n0B0R0j0v0w090O0yx1001713p0131301413015130161301713~2k6d7000000000000101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010100000000000000000000000000000000000000000000000000000001010101001010101001010101000000000101010100000000000001010101001010101001010101001010101001010101001010101000000003pmo21010101010000000000000000000000000000000000000000000000000000000000000000000000000000000000~281ba9101001111ba9201001111ba9101001111ba9101001111ba9101001111b03db10021005000000000000 => 0 scoid = 2427

Mon, 03 Aug 2015 06:15:14 GMT: LMSGetValue("cmi.core.lesson_status") - failed => 0 scoid = 2427

Mon, 03 Aug 2015 06:16:12 GMT: Commit("", "") => 0 scoid = 2427

Mon, 03 Aug 2015 06:16:12 GMT: LMSCommit("AJAXResult", "true") => 0 scoid = 2427

Mon, 03 Aug 2015 06:16:12 GMT: LMSCommit("result", "true") => 0 scoid = 2427

Mon, 03 Aug 2015 06:16:12 GMT: LMSCommit("errorCode", "0") => 0 scoid = 2427

Mon, 03 Aug 2015 06:16:13 GMT: LMSFinish("AJAXResult", "true") => 0 scoid = 2427

Mon, 03 Aug 2015 06:16:13 GMT: LMSFinish("result", "true") => 0 scoid = 2427

Mon, 03 Aug 2015 06:16:13 GMT: LMSFinish("", "") => 0 scoid = 2427

 

                         It is not  saving the last scorm page , issue is only for this course , other courses working perfectly and saving there scrom tracks.


Regards

Sarath


 

  

In reply to sarath zac

Re: Scorm save tracking not working in moodle 2.9 after version upgrade

by Matteo Scaramuccia -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hi Sarath,
if you carefully read the logs, you'll see that the contest is issuing no LMSSetValue() so technically speaking there's nothing to update and that's the reason why it looks like Moodle doesn't save the tracking data as you expect.

You should describe to your content provider what is the expected behavior when the student enters for the very first time and then what should happen when she/he launches the content for the other times. From the logs, it appears that if cmi.core.lesson_status is set to failed and the cmi.core.lesson_mode is set to review by Moodle (the attempt is formally closed), the content doesn't communicate further progresses to the LMS.

HTH,
Matteo