LMSSetValue Error
March 27, 2013 12:00 AM
I am getting an error 'LMSSetValue Error:' in my module that is hosted on an LMS (ILIAS). The error comes on the certificate page that:
* mods the AICC_Lesson_Status variable to 'completed'
* mods the CMI_Completion_Status variable to 'completed'
* changes the contents of the date box to 'CurrentDate'
* changes the contents of the student name box to 'AICC_Student_Name'
Both of the change contents commands work and the student name and date are pulled into the certificate once I click the 'OK' on the error box.
I don't even truly understand why I have completion statuses going to AICC and CMI (but it read on one of these boards somewhere). Should I maybe have my completion actions on a different page than my certificate page? Any thoughts?
Thanks,
Debbie
Discussion (2)
I get this same message after each question beginning with 31 through the end of the exam; however, the last page still presents a score and lists the feedback for all questions.
I have a SCORM package with 42 questions. On question 31 and going forward, I receive an error message from Moodle as follows:
LMSSetValue Error: cmi.suspend_data to [VarQuestion_0031=... Followed by a dialog box that says, "Some of the persistent data was not able to be stored."
Then, on submission of the exam, I get a dialog box with "LMSSetValue Error: cmi.core.lesson_status to Incorrect data type."
Anyone receive this befor?
You get the "Some of the persistent data was not able to be stored." message when your suspend_data field runs out of storage space. I am presuming that you have the 'retain student's answer between sessions' option checked? If so, this field is where those answers are stored and by the time your students reach Q31 it will be full up. Do you need to retain these answers? This would only really be useful if you allow students to leave the test midway through and continue at a later time. If you do need this then you could change the answers for each question to a, b, c and then hide these text fields and add the actual answers in other visible text boxes - this would mean that only the a, b or c gets stored for each question creating more space in your suspend_data field.
As for the Lesson status SetValue error - what are you trying to set it to? It should be along the lines of either 'completed' or 'Completed' - depending on your LMS.
Discussions have been disabled for this post