Articulate + Quizmaker: Setting "incomplete" after "completed"
Hi,
I have an Articulate 09 presentation with a Quizmaker 09 test at the end. When taking the course after passing the quiz the course properly sets SCORM 1.2 lesson status to "completed".
Upon re-entry of the course even though the GetStatus returns "completed" the course goes and resets the lesson status to "incomplete".
I have attached the log file below. Please see items in bold. I would like the course not to reset lesson status to "incomplete". Lesson Mode is returned as Normal. Is there something I am missing in my publishing settings?
Judging by what is in SCORMFunctions.js it looks like the course should only set "incomplete" if the lesson mode is "not attempted".
//only reset status and such if we are not reviewing
if (SCORM_GetLessonMode() != MODE_REVIEW){
if (SCORM_IsContentInBrowseMode()){
WriteToDebug("Setting Status to Browsed");
blnResult = SCORM_CallLMSSetValue("cmi.core.lesson_status", SCORM_BROWSED);
}
else{
//only set the status to incomplete if it's not attempted yet
if (SCORM_GetStatus() == LESSON_STATUS_NOT_ATTEMPTED){
WriteToDebug("Setting Status to Incomplete");
blnResult = SCORM_CallLMSSetValue("cmi.core.lesson_status", SCORM_INCOMPLETE);
}
}
Please Advise,
Alan
47:Thu Jun 18 10:30:23 PDT 2009 - In SCORM_GrabAPI
48:Thu Jun 18 10:30:23 PDT 2009 - SCORM_GrabAPI, returning
49:Thu Jun 18 10:30:23 PDT 2009 - Call LMSGetValue
50:Thu Jun 18 10:30:23 PDT 2009 - strResult=normal
51:Thu Jun 18 10:30:23 PDT 2009 - intSCORMError=0
52:Thu Jun 18 10:30:23 PDT 2009 - Returning normal
53:Thu Jun 18 10:30:23 PDT 2009 - strLessonMode=normal
54:Thu Jun 18 10:30:23 PDT 2009 - returning normal
55:Thu Jun 18 10:30:23 PDT 2009 - In SCORM_IsContentInBrowseMode
56:Thu Jun 18 10:30:23 PDT 2009 - In SCORM_CallLMSGetValue strElement=cmi.core.lesson_mode
57:Thu Jun 18 10:30:23 PDT 2009 - In SCORM_GrabAPI
58:Thu Jun 18 10:30:23 PDT 2009 - SCORM_GrabAPI, returning
59:Thu Jun 18 10:30:23 PDT 2009 - Call LMSGetValue
60:Thu Jun 18 10:30:23 PDT 2009 - strResult=normal
61:Thu Jun 18 10:30:23 PDT 2009 - intSCORMError=0
62:Thu Jun 18 10:30:23 PDT 2009 - Returning normal
63:Thu Jun 18 10:30:23 PDT 2009 - SCORM_IsContentInBrowseMode, strLessonMode=normal
64:Thu Jun 18 10:30:23 PDT 2009 - Returning false
65:Thu Jun 18 10:30:23 PDT 2009 - In SCORM_GetStatus
66:Thu Jun 18 10:30:23 PDT 2009 - In SCORM_ClearErrorInfo
67:Thu Jun 18 10:30:23 PDT 2009 - In SCORM_CallLMSGetValue strElement=cmi.core.lesson_status
68:Thu Jun 18 10:30:23 PDT 2009 - In SCORM_GrabAPI
69:Thu Jun 18 10:30:23 PDT 2009 - SCORM_GrabAPI, returning
70:Thu Jun 18 10:30:23 PDT 2009 - Call LMSGetValue
71:Thu Jun 18 10:30:23 PDT 2009 - strResult=completed
72:Thu Jun 18 10:30:23 PDT 2009 - intSCORMError=0
73:Thu Jun 18 10:30:23 PDT 2009 - Returning completed
74:Thu Jun 18 10:30:23 PDT 2009 - strStatus=completed
75:Thu Jun 18 10:30:23 PDT 2009 - Returning Completed
76:Thu Jun 18 10:30:23 PDT 2009 - In SCORM_TranslatgeExitTypeToSCORM strExitType-SUSPEND
77:Thu Jun 18 10:30:23 PDT 2009 - Returning suspend
78:Thu Jun 18 10:30:23 PDT 2009 - SCORM_CallLMSSetValue strElement=cmi.core.exit, strValue=suspend
79:Thu Jun 18 10:30:23 PDT 2009 - In SCORM_GrabAPI
80:Thu Jun 18 10:30:23 PDT 2009 - SCORM_GrabAPI, returning
81:Thu Jun 18 10:30:23 PDT 2009 - Calling LMSSetValue
82:Thu Jun 18 10:30:23 PDT 2009 - strResult=true
83:Thu Jun 18 10:30:23 PDT 2009 - Returning true
84:Thu Jun 18 10:30:23 PDT 2009 - Calling InitializeExecuted with parameter-true
85:Thu Jun 18 10:30:23 PDT 2009 - In InitializeExecuted, blnSuccess=true, strErrorMessage=
86:Thu Jun 18 10:30:23 PDT 2009 - In ResetStatus
87:Thu Jun 18 10:30:23 PDT 2009 - In ClearErrorInfo
88:Thu Jun 18 10:30:23 PDT 2009 - In IsLoaded, returning -true
89:Thu Jun 18 10:30:23 PDT 2009 - Setting blnStatusWasSet to false
90:Thu Jun 18 10:30:23 PDT 2009 - In SCORM_ResetStatus
91:Thu Jun 18 10:30:23 PDT 2009 - In SCORM_ClearErrorInfo
92:Thu Jun 18 10:30:23 PDT 2009 - SCORM_CallLMSSetValue strElement=cmi.core.lesson_status, strValue=incomplete
93:Thu Jun 18 10:30:23 PDT 2009 - In SCORM_GrabAPI
94:Thu Jun 18 10:30:23 PDT 2009 - SCORM_GrabAPI, returning
95:Thu Jun 18 10:30:23 PDT 2009 - Calling LMSSetValue
96:Thu Jun 18 10:30:23 PDT 2009 - strResult=true
97:Thu Jun 18 10:30:23 PDT 2009 - Returning true
98:Thu Jun 18 10:30:23 PDT 2009 - In GetDataChunk
99:Thu Jun 18 10:30:23 PDT 2009 - In ClearErrorInfo
100:Thu Jun 18 10:30:23 PDT 2009 - In IsLoaded, returning -true
101:Thu Jun 18 10:30:23 PDT 2009 - In SCORM_GetDataChunk
102:Thu Jun 18 10:30:23 PDT 2009 - In SCORM_ClearErrorInfo
103:Thu Jun 18 10:30:23 PDT 2009 - In SCORM_CallLMSGetValue strElement=cmi.suspend_data
|