SCORM grated only for admin

SCORM grated only for admin

by Omar Troncoso -
Number of replies: 8

Hi,

I am new with moodle. I'm thinking of using scorm activities with moodle. I've prepared some trial quizes (I used Wondershare QuizCreator, SCORM 1.2) but I have a problem: When I logg in as an administrator the SCORM activity works fine and the grade is stored in the grade book. However, when I logg in as a student the SCORM seems to work fine but the grade is not stored and when I see the activity report (as an admin) the score asigned is 0 as a not attempted activity!

Does anybody has an idea of what is going wrong?

Regards,

Omar

Here is the SCORM API activity log (when logged as administrator, the grade is stored):

Sat, 12 Dec 2009 21:44:04 UTC: Moodle SCORM 1.2 API Loaded, Activity: prueba, SCO: WS_QUIZ_SCO

Sat, 12 Dec 2009 21:44:14 UTC: LMSInitialize("", "") => 0

Sat, 12 Dec 2009 21:44:14 UTC: LMSGetValue("cmi.core.lesson_mode") - review => 0

Sat, 12 Dec 2009 21:44:14 UTC: LMSGetValue("cmi.core.lesson_status") - passed => 0

Sat, 12 Dec 2009 21:44:14 UTC: LMSGetValue("cmi.interactions._count") - 8 => 0

Sat, 12 Dec 2009 21:44:14 UTC: LMSGetValue("cmi.student_data.mastery_score") - 80 => 0

Sat, 12 Dec 2009 21:44:15 UTC: LMSGetValue("cmi.core.student_id") - admin => 0

Sat, 12 Dec 2009 21:44:15 UTC: LMSGetValue("cmi.core.student_name") - Troncoso, Omar => 0

Sat, 12 Dec 2009 21:44:16 UTC: Commit("", "") => 0

Sat, 12 Dec 2009 21:45:12 UTC: LMSSetValue("cmi.interactions_8.id", "Q01") => 0

Sat, 12 Dec 2009 21:45:12 UTC: LMSSetValue("cmi.interactions_8.type", "true-false") => 0

Sat, 12 Dec 2009 21:45:12 UTC: LMSSetValue("cmi.interactions_8.weighting", "1") => 0

Sat, 12 Dec 2009 21:45:12 UTC: LMSSetValue("cmi.interactions_8.correct_responses_0.pattern", "t") => 0

Sat, 12 Dec 2009 21:45:12 UTC: LMSSetValue("cmi.interactions_8.student_response", "t") => 0

Sat, 12 Dec 2009 21:45:13 UTC: LMSSetValue("cmi.interactions_8.time", "16:45:04") => 0

Sat, 12 Dec 2009 21:45:13 UTC: LMSSetValue("cmi.interactions_8.result", "correct") => 0

Sat, 12 Dec 2009 21:45:13 UTC: LMSSetValue("cmi.interactions_9.id", "Q02") => 0

Sat, 12 Dec 2009 21:45:13 UTC: LMSSetValue("cmi.interactions_9.type", "true-false") => 0

Sat, 12 Dec 2009 21:45:13 UTC: LMSSetValue("cmi.interactions_9.weighting", "1") => 0

Sat, 12 Dec 2009 21:45:13 UTC: LMSSetValue("cmi.interactions_9.correct_responses_0.pattern", "t") => 0

Sat, 12 Dec 2009 21:45:13 UTC: LMSSetValue("cmi.interactions_9.student_response", "t") => 0

Sat, 12 Dec 2009 21:45:13 UTC: LMSSetValue("cmi.interactions_9.time", "16:45:10") => 0

Sat, 12 Dec 2009 21:45:13 UTC: LMSSetValue("cmi.interactions_9.result", "correct") => 0

Sat, 12 Dec 2009 21:45:14 UTC: Commit("", "") => 0

Sat, 12 Dec 2009 21:45:15 UTC: LMSSetValue("cmi.core.score.raw", "100") => 0

Sat, 12 Dec 2009 21:45:15 UTC: LMSSetValue("cmi.core.score.min", "0") => 0

Sat, 12 Dec 2009 21:45:15 UTC: LMSSetValue("cmi.core.score.max", "100") => 0

Sat, 12 Dec 2009 21:45:15 UTC: LMSSetValue("cmi.core.lesson_status", "passed") => 0

Sat, 12 Dec 2009 21:45:15 UTC: LMSSetValue("cmi.core.session_time", "0000:01:00.64") => 0

Sat, 12 Dec 2009 21:45:16 UTC: LMSFinish("", "") => 0

Here is the SCORM API activity log (when logged as a student, the grade is not stored):

Sat, 12 Dec 2009 21:48:34 UTC: Moodle SCORM 1.2 API Loaded, Activity: prueba, SCO: WS_QUIZ_SCO

Sat, 12 Dec 2009 21:48:36 UTC: LMSInitialize("", "") => 0

Sat, 12 Dec 2009 21:48:36 UTC: LMSGetValue("cmi.core.lesson_mode") - normal => 0

Sat, 12 Dec 2009 21:48:36 UTC: LMSGetValue("cmi.core.lesson_status") - not attempted => 0

Sat, 12 Dec 2009 21:48:36 UTC: LMSSetValue("cmi.core.exit", "suspend") => 0

Sat, 12 Dec 2009 21:48:36 UTC: LMSSetValue("cmi.core.lesson_status", "incomplete") => 0

Sat, 12 Dec 2009 21:48:37 UTC: LMSGetValue("cmi.interactions._count") - 0 => 0

Sat, 12 Dec 2009 21:48:37 UTC: LMSGetValue("cmi.student_data.mastery_score") - 80 => 0

Sat, 12 Dec 2009 21:48:37 UTC: LMSGetValue("cmi.core.student_id") - ronald => 0

Sat, 12 Dec 2009 21:48:37 UTC: LMSGetValue("cmi.core.student_name") - Troncoso, Ronald => 0

Sat, 12 Dec 2009 21:48:37 UTC: Commit("", "") => 0

Sat, 12 Dec 2009 21:49:43 UTC: LMSSetValue("cmi.interactions_0.id", "Q01") => 0

Sat, 12 Dec 2009 21:49:43 UTC: LMSSetValue("cmi.interactions_0.type", "true-false") => 0

Sat, 12 Dec 2009 21:49:43 UTC: LMSSetValue("cmi.interactions_0.weighting", "1") => 0

Sat, 12 Dec 2009 21:49:43 UTC: LMSSetValue("cmi.interactions_0.correct_responses_0.pattern", "t") => 0

Sat, 12 Dec 2009 21:49:43 UTC: LMSSetValue("cmi.interactions_0.student_response", "t") => 0

Sat, 12 Dec 2009 21:49:43 UTC: LMSSetValue("cmi.interactions_0.time", "16:49:35") => 0

Sat, 12 Dec 2009 21:49:43 UTC: LMSSetValue("cmi.interactions_0.result", "correct") => 0

Sat, 12 Dec 2009 21:49:43 UTC: LMSSetValue("cmi.interactions_1.id", "Q02") => 0

Sat, 12 Dec 2009 21:49:43 UTC: LMSSetValue("cmi.interactions_1.type", "true-false") => 0

Sat, 12 Dec 2009 21:49:43 UTC: LMSSetValue("cmi.interactions_1.weighting", "1") => 0

Sat, 12 Dec 2009 21:49:43 UTC: LMSSetValue("cmi.interactions_1.correct_responses_0.pattern", "t") => 0

Sat, 12 Dec 2009 21:49:44 UTC: LMSSetValue("cmi.interactions_1.student_response", "t") => 0

Sat, 12 Dec 2009 21:49:44 UTC: LMSSetValue("cmi.interactions_1.time", "16:49:41") => 0

Sat, 12 Dec 2009 21:49:44 UTC: LMSSetValue("cmi.interactions_1.result", "correct") => 0

Sat, 12 Dec 2009 21:49:44 UTC: Commit("", "") => 0

Sat, 12 Dec 2009 21:49:44 UTC: LMSSetValue("cmi.core.score.raw", "100") => 0

Sat, 12 Dec 2009 21:49:44 UTC: LMSSetValue("cmi.core.score.min", "0") => 0

Sat, 12 Dec 2009 21:49:45 UTC: LMSSetValue("cmi.core.score.max", "100") => 0

Sat, 12 Dec 2009 21:49:45 UTC: LMSSetValue("cmi.core.lesson_status", "passed") => 0

Sat, 12 Dec 2009 21:49:45 UTC: LMSSetValue("cmi.core.session_time", "0000:01:08.30") => 0

Sat, 12 Dec 2009 21:49:45 UTC: LMSFinish("", "") => 0

Average of ratings: -
In reply to Omar Troncoso

Re: SCORM grated only for admin

by Dan Marsden -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators
Hi Omar,

seeing the debugging information for when it succeeds isn't really what we need - can you post the debugging info for when students are logged in and it doesn't store the score?
In reply to Dan Marsden

Re: SCORM grated only for admin

by Omar Troncoso -
Hi Dan,
Thanks for your answer.
This is the debugging information when I logg in as a student:

Sat, 12 Dec 2009 21:48:34 UTC: Moodle SCORM 1.2 API Loaded, Activity: prueba, SCO: WS_QUIZ_SCO

Sat, 12 Dec 2009 21:48:36 UTC: LMSInitialize("", "") => 0

Sat, 12 Dec 2009 21:48:36 UTC: LMSGetValue("cmi.core.lesson_mode") - normal => 0

Sat, 12 Dec 2009 21:48:36 UTC: LMSGetValue("cmi.core.lesson_status") - not attempted => 0

Sat, 12 Dec 2009 21:48:36 UTC: LMSSetValue("cmi.core.exit", "suspend") => 0

Sat, 12 Dec 2009 21:48:36 UTC: LMSSetValue("cmi.core.lesson_status", "incomplete") => 0

Sat, 12 Dec 2009 21:48:37 UTC: LMSGetValue("cmi.interactions._count") - 0 => 0

Sat, 12 Dec 2009 21:48:37 UTC: LMSGetValue("cmi.student_data.mastery_score") - 80 => 0

Sat, 12 Dec 2009 21:48:37 UTC: LMSGetValue("cmi.core.student_id") - ronald => 0

Sat, 12 Dec 2009 21:48:37 UTC: LMSGetValue("cmi.core.student_name") - Troncoso, Ronald => 0

Sat, 12 Dec 2009 21:48:37 UTC: Commit("", "") => 0

Sat, 12 Dec 2009 21:49:43 UTC: LMSSetValue("cmi.interactions_0.id", "Q01") => 0

Sat, 12 Dec 2009 21:49:43 UTC: LMSSetValue("cmi.interactions_0.type", "true-false") => 0

Sat, 12 Dec 2009 21:49:43 UTC: LMSSetValue("cmi.interactions_0.weighting", "1") => 0

Sat, 12 Dec 2009 21:49:43 UTC: LMSSetValue("cmi.interactions_0.correct_responses_0.pattern", "t") => 0

Sat, 12 Dec 2009 21:49:43 UTC: LMSSetValue("cmi.interactions_0.student_response", "t") => 0

Sat, 12 Dec 2009 21:49:43 UTC: LMSSetValue("cmi.interactions_0.time", "16:49:35") => 0

Sat, 12 Dec 2009 21:49:43 UTC: LMSSetValue("cmi.interactions_0.result", "correct") => 0

Sat, 12 Dec 2009 21:49:43 UTC: LMSSetValue("cmi.interactions_1.id", "Q02") => 0

Sat, 12 Dec 2009 21:49:43 UTC: LMSSetValue("cmi.interactions_1.type", "true-false") => 0

Sat, 12 Dec 2009 21:49:43 UTC: LMSSetValue("cmi.interactions_1.weighting", "1") => 0

Sat, 12 Dec 2009 21:49:43 UTC: LMSSetValue("cmi.interactions_1.correct_responses_0.pattern", "t") => 0

Sat, 12 Dec 2009 21:49:44 UTC: LMSSetValue("cmi.interactions_1.student_response", "t") => 0

Sat, 12 Dec 2009 21:49:44 UTC: LMSSetValue("cmi.interactions_1.time", "16:49:41") => 0

Sat, 12 Dec 2009 21:49:44 UTC: LMSSetValue("cmi.interactions_1.result", "correct") => 0

Sat, 12 Dec 2009 21:49:44 UTC: Commit("", "") => 0

Sat, 12 Dec 2009 21:49:44 UTC: LMSSetValue("cmi.core.score.raw", "100") => 0

Sat, 12 Dec 2009 21:49:44 UTC: LMSSetValue("cmi.core.score.min", "0") => 0

Sat, 12 Dec 2009 21:49:45 UTC: LMSSetValue("cmi.core.score.max", "100") => 0

Sat, 12 Dec 2009 21:49:45 UTC: LMSSetValue("cmi.core.lesson_status", "passed") => 0

Sat, 12 Dec 2009 21:49:45 UTC: LMSSetValue("cmi.core.session_time", "0000:01:08.30") => 0

Sat, 12 Dec 2009 21:49:45 UTC: LMSFinish("", "") => 0
In reply to Omar Troncoso

Re: SCORM grated only for admin

by Amy Groshek -
Omar, great job providing the API logs. What does the reporting for the SCORM activity itself look like? You have to set the scorm activity to never skip the content structure page, and then on the content structure page, select the link in the upper right, "Reports for x users." Is there a record there for your student? Are the records there the same as the records in the gradebook?

From the logs, the package looks like it's working just fine. My hunch is that your course is set up to allow users to enter as guests. Because your user is a guest, the grade is not recorded. Admin is a guest nowhere, of course, and so a grade is recorded for admin. Is the student user enrolled, that is, assigned a Student role, for the course? Do you have any funky role assignments going on for the SCORM activity?

A
Average of ratings: Useful (1)
In reply to Amy Groshek

Re: SCORM grated only for admin

by Omar Troncoso -
Hi Amy,
In fact my course is set up to not alllow guests.

I checked the locally assigned roles for my course and the student I have created (="ronald") has a student role.

Then, I checked the scorm properties and I saw the "assigned roles in module". For this module (scorm activity) there was no role assigned (is that ok? )I assigned the role of student to "ronald". Then I tried again but moodle didn't store the grade.

When I check the report for the scorm activity, it says that there are not attemps made by "ronald". However, the attemps made by the admin are stored normally. The grades I see in the scorm report are the same as in the gradebook (score = 0 for ronald and score = 100 for admin).

These are the options in the scorm activities:

grading method: highest grade
maximun grade: 100
number of attemps: unlimited
attemps grading: highest attemp
student skip content page: never
disable preview mode: no

In reply to Omar Troncoso

Re: SCORM grated only for admin

by Amy Groshek -
Omar, try turning "disable preview mode" to "yes".

A
In reply to Amy Groshek

Re: SCORM grated only for admin

by Omar Troncoso -
Hi, I got it solved. I checked the student role permissions. It turned up that the "Save tracks" option in the scorm section was set as prohibited.
I changed the option to "allow" and the problem was solve. I guess I should have checked that before.
Thanks for your help.
In reply to Omar Troncoso

Re: SCORM graded only for admin and not for the user

by skanda pm -
I too come across the same issue - Grading is shown only for Admin and not for the User. I have uploaded Scorm 1.2 (flash Quiz) in Moodle 1.9. Please help out on this.