After many years experience with SCORM 1.2 this is my first time coming to SCORM 2004 and unsurprisingly have encountered an issue or two!
The first time I run the course, I'm getting a 403 errors when trying to get cmi.suspend_data and cmi.location... is that as expected?
Looking through the (somewhat impenetrable) documentation this does seem to be implied for cmi.suspend_data ("If the SCO has not set the value prior to the get request, then the LMS shall set the error code to 403") but I'm not so sure about cmi.location and why that's returning 403.
Any thoughts? The relevant bit debug output from Moodle is below... Am using the pipwerks SCORM JS BTW.
Tue, 08 Nov 2011 16:43:47 GMT: Moodle SCORM 1.3 API Loaded, Activity: Test v7, SCO: item_1
Tue, 08 Nov 2011 16:43:48 GMT: Initialize("", "") => 0
Tue, 08 Nov 2011 16:43:48 GMT: GetValue("cmi.completion_status") - unknown => 0
Tue, 08 Nov 2011 16:43:48 GMT: SetValue("cmi.completion_status", "incomplete") => 0
Tue, 08 Nov 2011 16:43:48 GMT: GetValue("cmi.completion_status") - incomplete => 0
Tue, 08 Nov 2011 16:43:51 GMT: GetValue("cmi.completion_status") - incomplete => 0
Tue, 08 Nov 2011 16:43:51 GMT: GetValue("cmi.suspend_data") - => 403
Tue, 08 Nov 2011 16:43:51 GMT: GetErrorString("403", "Data Model Element Value Not Initialized") => 0
Tue, 08 Nov 2011 16:43:51 GMT: GetErrorString("403", "Data Model Element Value Not Initialized") => 0
Tue, 08 Nov 2011 16:43:51 GMT: GetDiagnostic("403", "403") => 0
Tue, 08 Nov 2011 16:44:02 GMT: GetValue("cmi.location") - => 403
Tue, 08 Nov 2011 16:44:02 GMT: GetErrorString("403", "Data Model Element Value Not Initialized") => 0
Tue, 08 Nov 2011 16:44:02 GMT: GetErrorString("403", "Data Model Element Value Not Initialized") => 0
Tue, 08 Nov 2011 16:44:02 GMT: GetDiagnostic("403", "403") => 0