Picture of Stephen Bates
Issue creating course with block slider
by Stephen Bates - Thursday, 11 September 2014, 9:41 PM
 

Hi All,

I created a short proof of concept course using the block slider, which works locally when i run grunt server-scorm, but when I upload to our LMS it gets stuck on the loading screen, and inspecting in Firebug I see this error:

TypeError: children.models[0] is undefined
 
if (children.models[0]._children === descendants) {

 

This line is from /src/core/js/models/adaptModel.js (line 122).

 

It occurred to me that maybe I have some orphaned blocks or components, but I cleaned up the course json before i ran the build, so i'm not sure what the issue could be (i'm not particularly experienced with backbone.js). Any ideas? I didn't edit any of the core js, so i'm hitting a dead end based on my understanding of Adapt.

Thanks!