Follow

Incorrect Data Type Error for cmi.interactions

Avatar

Question

We have a course that behaves normally from a tracking and bookmarking standpoint; however, in the quiz in the course, on a matching question, if you only match up one of the items and click continue, the course throws an error: "LMSSetValue Error: cmi.interactions.10.student_response to [1.A,,]Incorrect Data Type". What is the cause of this?

 

Answer

It looks like the value that the course is sending is formatted incorrectly, there should not be empty strings between the commas.

It is relatively common for SCORM 1.2 course to report interaction results incorrectly though. The 1.2 spec wasn't as explicit or clear on the formatting as the 2004 spec and the test suites didn't test the results format very thoroughly. Because of that, we have a package property that allows you to disable the interactions result format checking.

In the Cloud, uncheck "Enable Validation of SCORM Interaction Results" and test it again. That should get rid of the error.

For some further background reading, if you're interested:

http://www.scorm.com/blog/2008/12/joe-smith-answered-question-1-with-b-but-the-correct-answer-is-c/

http://support.scorm.com/entries/45941-question-descriptions-in-scorm-1-2

Let us know if you need anything else.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk