Error with cmi.interactions Variable
June 18, 2008 12:00 AM
We've found a bug in the way Lectora scores and submits test results to an LMS when published as a scorm 1.2 course. If an answer has a comma in the text string, Lectora changes the cmi.interactions variable for that question from the response given (A, B, C, etc) to na. In our old SumTotal LMS, this information is ignored and the course still scores and completes correctly. However, in our new custom-built LMS, this throws an error and our learners cannot complete the course correctly.Here is the debug log for the question when a comma is in the correct answer string (note the fifth line down and the n/a response):LMSGetValue for cmi.interactions._count = [5]LMSSetValue for cmi.interactions.5.id to [Question_9_New_716_1213214851515]LMSSetValue for cmi.interactions.5.time to [13:07:31]LMSSetValue for cmi.interactions.5.type to [choice]LMSSetValue for cmi.interactions.5.correct_responses.0.pattern to [n/a]LMSSetValue for cmi.interactions.5.weighting to [1]LMSSetValue for cmi.interactions.5.result to [correct] Here is the debug log for the same question when the comma from the answer string is removed:LMSGetValue for cmi.interactions._count = [5]LMSSetValue for cmi.interactions.5.id to [Question_9_New_2_740_1213222777301]LMSSetValue for cmi.interactions.5.time to [15:19:37]LMSSetValue for cmi.interactions.5.type to [choice]LMSSetValue for cmi.interactions.5.correct_responses.0.pattern to LMSSetValue for cmi.interactions.5.weighting to [1]LMSSetValue for cmi.interactions.5.student_response to LMSSetValue for cmi.interactions.5.result to [correct] These results were found using Lectora 2008 SP1 5282. The course was originally designed in Lectora 2006 and still had the same errors.Has anyone else encountered this? Edited By: Libbyc on 2008-6-17 15:10:42
Discussions have been disabled for this post