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

JS error from simpleyui: Y.Lang is undefined

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4.2
    • Component/s: Libraries, SCORM
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull Master Branch:
      master_MDL-36800

      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

              • Assignee:
                danmarsden Dan Marsden
                Reporter:
                danmarsden Dan Marsden
                Integrator:
                Damyon Wiese
                Tester:
                Frédéric Massart
                Participants:
                Component watchers:
                Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Mar/13