Forum Discussion

MichaelDufour-7's avatar
MichaelDufour-7
Community Member
3 days ago

Bug in latest Storyline ?

Hello,

I was having a problem with a slide not loading in my SCORM export from latest Storyline on Moodle.

 

I was getting this error in browser console :

slides.min.js:2 Uncaught TypeError: this.removeLoadListeners is not a function
    at e.componentWillUnmount (slides.min.js:2:803456)
    at t.<computed> [as componentWillUnmount] (bootstrapper.min.js:2:38747)
    at u.<computed> [as dv_finishUnmount] (bootstrapper.min.js:2:37236)
    at t.<computed> [as componentWillUnmount] (bootstrapper.min.js:2:38822)
    at u.<computed> [as dv_finishUnmount] (bootstrapper.min.js:2:37236)
    at t.<computed> [as componentWillUnmount] (bootstrapper.min.js:2:38822)
    at u.<computed> [as dv_finishUnmount] (bootstrapper.min.js:2:37236)
    at t.<computed> [as componentWillUnmount] (bootstrapper.min.js:2:38822)
    at u.<computed> (bootstrapper.min.js:2:37236)
    at t.<computed> [as componentWillUnmount] (bootstrapper.min.js:2:38822)

Claude AI seems to have helped me to fix it, I had to edit this file in the SCORM zip export :

html5\lib\scripts\slides\slides.min.js 

Search for "this.mountedDfd.reject(),this.removeLoadListeners()"

Replace with "this.mountedDfd.reject(),this.removeLoadListeners&&this.removeLoadListeners()"

Update the zip.

Flush browser cache and retry.

 

According to Claude AI it would be a bug in Storyline, anyone in the team could confirm ? Because this fix needs to be applied at each SCORM export :( so if confirmed, if a Storyline quick fix update can be pushed it would be cool :)

 

3 Replies

  • Hi MichaelDufour-7​,

    Sorry to hear that Storyline SCORM packages are not loading in Moodle LMS.

    Thanks for sharing the workaround you've applied, but you shouldn't have to edit the published content. Have you tested the same SCORM package in an LMS test environment like SCORM Cloud? This can help pinpoint whether the issue is specific to how Moodle loads data, or a problem with the Storyline output itself.

    If the course also fails to load in SCORM Cloud, we're happy to take a closer look at the affected project file. Feel free to upload your .story file here in the discussion or privately through a support case.

    Looking forward to hearing from you! 

    • MichaelDufour-7's avatar
      MichaelDufour-7
      Community Member

      Hi Steven,

      Yes, to eliminate the Moodle problem eventuality I tested it on SCORM Cloud which had the same problem.

       

      I opened case 01374524 with the .story attached

       

      Thanks for your help :)

       

      Michael.

      • StevenBenassi's avatar
        StevenBenassi
        Staff

        You're welcome, MichaelDufour-7​. Thanks for following up!

        I see that your case has been received by our senior support engineers. They should be connecting with you shortly, and we can continue the conversation there.