Best practice forum (Archived)

External AICC URL for SCORM appears not to work in 2.6 (regression)

 
Daniel Bond
External AICC URL for SCORM appears not to work in 2.6 (regression)
by Daniel Bond - Thursday, 29 May 2014, 6:04 AM
Group Most helpful contributor 2023

Hi,

I've requested that this is submitted as a bug by our Totara Partner, but I also wanted to gauge if anyone else has hit this problem or whether it's just us. In 2.5 and before, we've been able to use the External AICC URL option in SCORM modules to link to externally hosted packages. This has worked without problem and a lot of users have successfully completed courses using it. After an update to 2.6.1, this appears to have stopped working, and all that happens is a blank grey screen and a JavaScript error along the lines on "Uncaught TypeError: Cannot read property 'title' of undefined" in the console for module.js. This means that several of our courses have simply stopped working after the upgrade to 2.6.1 which is a major headache for us.

Our Partner has told us Totara have identified this as an upstream Moodle issue, so would need to be resolved by them, and have been directed towards https://tracker.moodle.org/browse/MDL-43078 which seems to be a description of the fact that Moodle doesn't throw a useful error message when the External AICC URL fails rather than the actual reason the Exernal AICC URL has stopped working. I've looked on the Moodle tracker and I can't see any bug actually describing this problem, but it is possible I'm using the wrong search terms.

Has anyone else come across anything similar, and if so have you found a solution? Equally, if anyone can point towards a Moodle Tracker bug which describes this then that would be appreciated, because it definitely feels like a fairly big regression for us.

Thanks

Dan

 

Tom Ireland
Re: External AICC URL for SCORM appears not to work in 2.6 (regression)
by Tom Ireland - Thursday, 29 May 2014, 8:29 AM
Group Totara

Hi, Dan

Thank you for your post. The additional detail you provided here wasn't present on the original support request, however I would be happy to add this detail to the existing request.

Could I request that you provide some additional details on steps you have taken to recreate the issue?

Thanks!

Tom 

Daniel Bond
Re: External AICC URL for SCORM appears not to work in 2.6 (regression)
by Daniel Bond - Thursday, 29 May 2014, 8:45 AM
Group Most helpful contributor 2023

Thanks for the update.

Reproducing this elsewhere may actually be a little tricky, because the external module is behind a firewall which has a rule whitelisting our Totara server, so I can't even share the URL we're using. I will however give you the steps we've used, and maybe that will be enough:

An existing course with a SCORM activity in, which has worked previously. The SCORM activity is set to be Direct AICC URL and the URL is entered.

Previously, this would work perfectly, data would be sent back and forth between our Totara server and the eLearning host's server.

Now, when the SCORM activity is viewed, it simply displays a grey screen and when I view the JavaScript console in Chrome to identify why there is an error in module.js saying "Uncaught TypeError: Cannot read property 'title' of undefined".

Are there other details that would be helpful when identifying the problem?

Regards

Dan

Tom Ireland
Re: External AICC URL for SCORM appears not to work in 2.6 (regression)
by Tom Ireland - Thursday, 29 May 2014, 9:29 AM
Group Totara

Hi, Dan

Thank you for providing the additional replication steps. I'll add this to your existing request and provide a further update via your Totara Solution Partner.

Nothing else needed just now, but we will be in touch if we require any further information.

Regards

Tom

? ?
Re: External AICC URL for SCORM appears not to work in 2.6 (regression)
by ? ? - Thursday, 29 May 2014, 3:13 PM
 

Hmmm this is going to be difficult to debug and fix without an External AICC Scorm package.

I've never used that type of functionality before, does anyone happen to know of a public available AICC scorm we could use, or if necessary a simple way to set such a thing up?

? ?
Re: External AICC URL for SCORM appears not to work in 2.6 (regression)
by ? ? - Thursday, 29 May 2014, 4:20 PM
 

Not sure how useful it is in this particular scenario, but the AICC has a sample for developers to use: http://www.aicc.org/joomla/dev/index.php?option=com_content&view=article&id=51&Itemid=27

? ?
Re: External AICC URL for SCORM appears not to work in 2.6 (regression)
by ? ? - Thursday, 29 May 2014, 6:01 PM
 

There's also one mentioned on a related Moodle bug

https://secure.testcraft.com/dev7/Assess.aspx?aid=MOODLE-AICC-01&apass=PASSWORD123

That's two serious problems with SCORM in 2.6 now, I wonder if they are related...

Daniel Bond
Re: External AICC URL for SCORM appears not to work in 2.6 (regression)
by Daniel Bond - Friday, 30 May 2014, 2:25 AM
Group Most helpful contributor 2023

I've tested both of those (thanks for pointing them out) on another site we have (to try and eliminate the chance that it's our configuration) and also on http://demo.moodle.net/ and neither seems to work which would suggest an upstream Moodle bug. I would have tested on https://sandpit.totaralms.com but Direct AICC URL isn't enabled for SCORM activities on there so I can't.

I can't seem to track down a Moodle 2.5-based system to test this on, but it was certainly working pre-upgrade.

Thanks to everyone for their help in testing this and trying to work out what's wrong.

Regards

Dan

? ?
Re: External AICC URL for SCORM appears not to work in 2.6 (regression)
by ? ? - Thursday, 29 May 2014, 7:54 PM
 

Hi Dan,

If the AICC URL is over HTTPS then they may also be falling victim to this bug

https://totara.community/mod/forum/discuss.php?d=9377

This was caused by a bad merge of Moodle 2.6, issue https://tracker.moodle.org/browse/MDL-42679. The fix is simple,

mod/scorm/module.js line 51 should read

Y.use('button','dd-plugin','panel','resize','moodle-mod_scorm-treeview',function(Y){

Hopefully this will be included in the next 2.6 release on Tuesday but you might want to try that out and see if it resolves the AICC issue too? There is definitely a different unrelated bug in the AICC MDL-43078 but applying the SSL fix will do no harm!