FAQ
 
Products Showcase Download Store Support
Home :: Support :: Community :: CourseLab Issues

Re: Re: (1) Moodle SCORM 1.2.7 problem

Re: Re: (1) Moodle SCORM 1.2.7 problem 
Author:  Hal MacLean
Date: 24.04.2011 19:42:52
We were having similar issues with SCORM in Moodle - didn't matter whether we exported as 1.1, 1.2 or 2004 - Moodle 1.9 was giving us an error after running a quiz created in Courselab.

Thanks to a very talented developer (Hais Deakin) we tracked down a typo in the Moodle code, which meant there would always be an error. We had to remove a single space from a specific line of code and the issue went away.

The file is mod/scorm/datamodels/Scorm_12.js

Line 434

433: result = ('true' == result) ? 'true' : 'false';
434: errorCode = (result ==' true')? '0' : '101';

This was lodged as an issue with Moodle, and fixed in releases later than 1.9.5 - all sorted in Moodle 2.

Worth having a trawl through for the file, and edit it by hand.

note the extra space...: ' true'

This needs removing
 
...

Welcome to CourseLab Community! If you have any questions regarding CourseLab - please post it here in corresponding thread. If you cannot find the thread that exactly fit to your question - you can place New thread message. If such thread already exists - please post your question there. Threads are time slipping - last changed threads are always on the top of the threads list.

Total number of threads: 1684
Total number of comments: 6258
Filter by main thread topic:
Search for:  
 
v :)
Subject Author Date
 
Moodle SCORM 1.2.7 problem mohd kasni 19.07.10
 
Re: (1) Moodle SCORM 1.2.7 problem Nick James 19.07.10
Re: (2) (1) Moodle SCORM 1.2.7 problem Hal MacLean 24.04.11
 

Reply

You can also post this message as registered user. [Log in]
Author:
E-mail:
Subject:
Options:  Notify me if there is a new reply
Message emoticon:
Message body:
Insert smilie into text:
 
Jump to thread: