Details
Description
When I add a simple SCORM activity - with just one trackable activity - an API error appears. The exact text depends on which tool is used to create the SCORM activity - but the error is the same - "Could not get API instance".
Example SCORM file (that works perfects on previous versions of Moodle) http://www.contentgenerator.net/scorm/invaders.zip
When I upload it to any pre 2.0 version of Moodle they work without a problem. I've it them with multiple browsers and all seems fine.
When I upload and test them on the test Moodle 2.0 (at http://qa.moodle.net/) I encounter the error every time. The SCORM object is unable to connect to an API instance:
Screenshot here: http://www.contentgenerator.net/scorm/images/Capture%20invaders.JPG
I've also tested the issue with the default SCORM eXe example - the one included in the default features demo course. Here the same error occurs (different actual message, but this is because the message text relates to the specific message that has been programmed to appear when there is a failure to connect to the API instance):
Screenshot here: http://www.contentgenerator.net/scorm/images/Moodle_eXe%20Scorm%20package%20API%20issue.JPG
I also tested the problem with another example SCORM .zip that had been uploaded to the repository - an example fromSUMS Online (http://www.sums.co.uk/) available from the repository at http://moodle.org/mod/data/view.php?d=50&rid=2061. Again, the same error occurs. Moodle tries to display the SCORM object and there is a failure to connect to the API instance:
Screenshot here: http://www.contentgenerator.net/scorm/images/Capture_SUMS%20example.JPG
So, in summary:
- I think there is a problem with the current Moodle 2.0 implementation of SCORM - a common issue meaning SCORM objects cannot connect to a current API instance.
- Tested with a variety of browers and OS - but the above grabs come from using Firefox on a PC.
- Tested it with my own Teacher Invaders example - download from: http://www.contentgenerator.net/scorm/invaders.zip
- Tested it with the default SCORM eXe example files
- Tested it with an example SUMS online SCORM .zip file: http://moodle.org/mod/data/view.php?d=50&rid=2061
- Each time, the 'failed to connect to API' (or similarly worded error) occurs.
I can confirm this - I tried both a Content Generator file and a SUMS file on my own test Moodle 2.0 site and got the same results