Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-36800

JS error from simpleyui: Y.Lang is undefined

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4
    • 2.4.2
    • Libraries, SCORM
    • MOODLE_24_STABLE
    • MOODLE_24_STABLE
    • master_MDL-36800
    • Hide

      Use a browser that allows you to view JS errors (firebug etc)
      Enter a SCORM package
      Click on the breadcrumb link to the course homepage
      keep an eye on the JS errors - make sure Y.Lang error doesn't show. (Without this patch the error would show very quickly and then disappear when the next page was loaded).
      Ignore any other JS warnings as they are likely to be some other issue.

      Show
      Use a browser that allows you to view JS errors (firebug etc) Enter a SCORM package Click on the breadcrumb link to the course homepage keep an eye on the JS errors - make sure Y.Lang error doesn't show. (Without this patch the error would show very quickly and then disappear when the next page was loaded). Ignore any other JS warnings as they are likely to be some other issue.

    Description

      When exiting a SCORM and returning to the course homepage or SCORM entry page this JS error is thrown:

      Error: TypeError: Y.Lang is undefined
      Source File: http://moodle/theme/yui_combo.php?3.7.3/build/simpleyui/simpleyui.js&3.7.3/build/loader/loader.js
      Line: 867

      you only see it if jscache is off or if fix for MDL-36772 is in place.

      Attachments

        Issue Links

          Activity

            People

              danmarsden Dan Marsden
              danmarsden Dan Marsden
              Damyon Wiese Damyon Wiese
              Frédéric Massart Frédéric Massart
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo, Dan Marsden, Matteo Scaramuccia, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Mar/13